[TYPO3-core] RFC: Feature Request #5610: Extend TCEFORM_confObj on Page TSconfig by property filterItems

Michael Stucki michael at typo3.org
Mon Feb 4 01:34:03 CET 2008


Oliver Hader wrote:

>>>>>>> Example:
>>>>>>> TCEFORM.<table>.<field>.filterItems = 110,101,111
>>>>  >>
>>>>  > I've attached a new patch which removes the 'filterItems.ignore'
>>>>  > property. The main property is still called 'filterItems'.
>>>>
>>>> I would agree with Ernesto here and would suggest to only name it
>>>> "Items".
>>>
>>> Or name it keepItems, ie a list of items that are kept if they are in
>>> the original list.
>> 
>> Yea!! +1! Masi always has the precise expression for those kind of
>> things! :)
> 
> Good. I changed the patch to use 'keepItems' now.

Did not look at the code at all, but how about this:

TCEFORM.<table>.<field> {
   removeItems = *
   addItems.123 = 1
   addItems.234 = 1
}

Or alternatively:

TCEFORM.<table>.<field> {
   removeItems = *
   addItems = 123,234  # hence allowing assigning values directly
                         to "addItems" without subkeys, as these values are
                         already configured with proper labels...
}

I don't care much if you introduce "keepItems" instead, but this is probably
more consistent with rtehtmlareas "showButtons" property...

- michael
-- 
Use a newsreader! Check out
http://typo3.org/community/mailing-lists/use-a-news-reader/


More information about the TYPO3-team-core mailing list