[Typo3-dev] Bug, Feature or just forgotten?

Christian Prokopp cccp.gov at gmx.net
Fri Feb 11 02:24:45 CET 2005


Hi Folks,

I run into trouble in the BE with long record names. I changed the 
setting in User->Setup to increase the length of titles/names shown but 
it did not work for the element browser (the one you use with MM box to 
select another record). It always showed a fixed length.
I check the source and found the problem in browse_links.php.

All Classes/Functions there use:
'$titleLen=intval($GLOBALS['BE_USER']->uc['titleLen'])'
't3lib_div::fixed_lgd_cs($v['row']['title'],$titleLen)'
To define the length of the title by the variable mentioned before.

One Function does not - 'TBE_browser_recordList->linkWrapItems()':
'$code = htmlspecialchars(t3lib_div::fixed_lgd_cs($code,$this->fixedL));'

'$this->fixedL' is inherited from 't3lib_recordList' where it is 
declared under the comment "Not used in this class - but maybe extension 
classes...". Does not sound like the fixed length actually has a 
specific use so how about changing this for the next release so the 
Element Browser titles also become flexible like the rest?!

Please let me knwo if I got it wrong or if I make sense.

Cheers,
Christian




More information about the TYPO3-dev mailing list