[TYPO3-core] RFC: #10865: Using User-Setting "titleLen" in element browser

Christian Kuhn lolli at schwarzbu.ch
Thu Apr 30 20:13:55 CEST 2009


This is an SVN patch request.

Type: bugfix

BT Reference: http://bugs.typo3.org/view.php?id=10865

Branches: trunk

Problem:
Cropping titles to uc['titleLen'] does not work in the element browser, 
the hardcoded default is always used.

Solution:
The titleLen initialization is done in the constructor of class 
recordList (the element browser extends this). The element browser class 
has an own constructor, so the parent constructor must be called explicitly.

Notes:
Can easily be tested with changing user->setup "Title Length" and a 
content element "Insert records".

Thanks
Christian


More information about the TYPO3-team-core mailing list