Recent Topics

1 Jul 28, 2009 21:55    

Hey, this is trivial, but since nobody will get hurt from me mentioning it, here it goes:

http://www.lalaurette.com.ar/bad_wrapping.JPG

Do you see what I mean? In previous versions of b2evo, the "Author" column showed a conveniently short username. Now, it shows my (long) full name, without wrapping. Instead, the backoffice chooses to wrap the (potentially much longer) "Title" column. Some titles span as much as four lines.

OK, I said this was not a serious bug, but maybe it can be solved easily.

Cheers,
Sebastián

2 Jul 28, 2009 23:03

Do you have 1024x768 display? Anyway this is not a bug, so I moved the post.

This column is same as in b2evo 2, it uses "Preferred name" from user settings.

You most likely changed the "Identity shown:" field in user settings, just select a shorter one.

3 Jul 28, 2009 23:26

Yeah, well, it's not the name what seems wrong, but the fact that b2evo chooses to wrap the string that's bound to be typically longer and leave the shorter one unwrapped. This could be considered a cosmetic bug, or not. But the solution would not be to change what appears in the "Author" column.

4 Jul 28, 2009 23:35

You can fix it in inc/items/views/_item_list_table.view.php, lines 97-106

else
{ // Author:
	$ItemList->cols[] = array(
			'th' => T_('Author'),
			'th_class' => 'nowrap',
			'td_class' => 'nowrap',
			'order' => 'creator_user_ID',
			'td' => '@get(\'t_author\')@',
		);
}

to

else
{ // Author:
	$ItemList->cols[] = array(
			'th' => T_('Author'),
			'order' => 'creator_user_ID',
			'td' => '@get(\'t_author\')@',
		);
}

5 Jul 28, 2009 23:54

Works wonderfully, sam2kb! Thank you very much.


Form is loading...