[TYPO3-core] RFC: Bug 4827: Call to undefined method t3lib_BEfunc::getrecordtitleprep()

Oliver Hader oh at inpublica.de
Wed Jan 24 13:04:04 CET 2007


This is a SVN patch request.

Problem:
While setting some alternative label like foreign_label or
symmetric_label, method t3lib_BEfunc::getRecordTitlePrep($title) is
called, which unfortunately doesn't exist.
This refers to class.t3lib_tceforms_inline.php line 372 and TYPO3 4.1beta3.

Solution:
Integrate the missing method getRecordTitlePrep($title) to t3lib_BEfunc
that crops a string depending on the setting in BE_USER->uc['titleLen'].
The functionality was taken from t3lib_BEfunc::getRecordTitle and put to
a new method to avoid redundancy - it was called there, when the $prep
parameter was true.

Comments:
IRRE was developed on the typo3xdev-playground and the results were
merged from time to time to the core. The function
getRecordTitlePrep($title) was once forgotten to be integrated to the
TYPO3core.

Bugtracker reference:
http://bugs.typo3.org/view.php?id=4827

Branch:
Trunk


olly
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0004827.patch
Type: text/x-diff
Size: 5531 bytes
Desc: not available
Url : http://lists.netfielders.de/pipermail/typo3-team-core/attachments/20070124/b733bfa3/attachment.bin 


More information about the TYPO3-team-core mailing list