[TYPO3-project-formidable] datahandler:LISTER activelistable
Jerome Schneider
typo3dev at ameos.com
Wed Dec 5 11:14:42 CET 2007
Hi Manuel,
My mistake on this. There's only /beforeDisplay for the moment, and
there should be /beforeRender and /beforeDisplay
-> beforeRender: works on array of raw list data
-> beforeDisplay: works on array of rendered HTML
The problem is that for now /beforeDisplay is not well named, and should
be named /beforeRender as it works on raw data.
I renamed /beforeDisplay to /beforeRender and implemented the new
/beforeDisplay, the one that you'll have to use for this.
I made an exemple: http://pastebin.com/f4be13a58
I'm going to update svn soon.
Regards,
Jerome
Manuel Rego Casasnovas a écrit :
> Hello Jerome,
>
> Jerome Schneider escribió:
>> PS: you should take the step to renderlet:LISTER ;)
>>
> I'm trying renderlet:LISTER.
>
> How I can hide a column only for one record?
>
> I'm trying "process" but this isn't evaluated for each row.
> Moreover I try "beforedisplay" however this doesn't work like
> datahandler:LISTER.
>
> Is there any possibility to hide a coloumn according to a field of the row?
>
> For example:
> uid | title | disabled | view | edit | delete
> 1 | one | 0 | view | edit | delete
> 2 | two | 1 | view | |
>
> I'd like to hide columns edit and delete when field "disabled" is 1.
>
>
> Thanks ;-)
> Rego
>
>
More information about the TYPO3-project-formidable
mailing list