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

Oliver Hader oh at inpublica.de
Wed Jan 24 15:48:11 CET 2007


Hi Ingmar,

Ingmar Schlecht wrote:
> Hi Olly,
>
> the patch looks good, +1.
>
> However, it would be great if you could introduce another optional
> parameter $forceLen to the getRecordTitlePrep() function before committing.

I followed your suggestion and added $titleLength as optional parameter.
This parameter expects an positive integer and takes this value to crop
the title. If it's empty or not valid, BE_USER->uc['titleLen'] is taken
instead.
The updated patch is attached.


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


More information about the TYPO3-team-core mailing list