[TYPO3-dev] Customizing IRRE controls in BE: how to hide 'Create New' link?
Stephen Bungert
stephenbungert at yahoo.de
Thu Aug 16 12:16:48 CEST 2012
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.
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...
> Great, thanks! I overlooked enabledControls, even when spelling out
> doc_core_tca...
>
> Just another related question: the title of the child records now gets
> cropped at about 30 characters. Is that also adjustable?
>
> Thanks,
> Loek
>
>
> Op 16-08-12 11:14, Stephen Bungert schreef:
>> In your tca you can control what buttons appear like this:
>>
>> 'field_name' => array(
>> 'config' => array(
>> 'appearance' => array(
>> 'enabledControls' => array(
>> 'info' => false,
>> 'new' => false,
>> 'dragdrop' => false,
>> 'sort' => false,
>> 'hide' => false,
>> 'delete' => false,
>> ),
>> ),
>> ),
>> ),
>>
>> Just set the ones you want to see to true
>>
>>
>
>
More information about the TYPO3-dev
mailing list