[TYPO3-dev] Customizing IRRE controls in BE: how to hide 'Create New' link?

Loek Hilgersom loek at netcoop.nl
Thu Aug 16 12:32:19 CEST 2012


Hi Stephen,

Op 16-08-12 12:16, Stephen Bungert schreef:
> I think this is a typo3 wide setting for titles in List module, each user
> can adjust this though in user settings.
>
> You can also use a custom function to set a label in list module.
>
> it's the "label_userFunc" property of a tables "ctrl" section in
> ext_tables.php.

Yes, you're right. I found the code that generates this in 
class.t3lib_tceforms_inline.php, and it looks like it uses the default 
crop-length which is set in the BE-user settings.

label_userFunc seems the only way, that doesn't get cropped.

Thanks again!
Loek

>
> It's quite easy to use, I don't think that whatever your label_userFunc
> function sets as the title gets cropped (I might be wrong about this). I
> have used label_userFunc several times and I remember having to crop one
> field myself that i wanted to use as a title becuase it wasn't done
> automatically.
>
> This function is not only used in List module, but also when child IRRE
> records are displayed in their parents form.
>
> Stephen.
>
> "Loek Hilgersom"<loek at netcoop.nl>  schrieb im Newsbeitrag
> news:mailman.1.1345111428.27321.typo3-dev at lists.typo3.org...
>> >Just another related question: the title of the child records now gets
>> >cropped at about 30 characters. Is that also adjustable?
>> >
>> >Thanks,
>> >Loek
>> >





More information about the TYPO3-dev mailing list