[TYPO3-dev] TCA modification API
Mathias Schreiber [wmdb >]
mathias.schreiber at wmdb.de
Thu Nov 18 13:35:54 CET 2010
Am 18.11.10 13:13, schrieb Bjoern Pedersen:
> Hi,
>
> just some thoughts about the TCA manipulation API:
great!
> Currently we mainly hav adding-functions, which only work on the types
> field. The refactoring of the backend results in most items being moved
> to palettes.
Actually, there are "add to palette" functions as well (at least current
trunk)
> So my question:
> Would it make sense to have functions to also manipulate the palettes?
>
> So e.g. AddToPalette
> ReplaceInPalette
> AddPalette
> AddPlatteToTypes
> ReplaceInTypes
Except for the typo in AddPlatteToTypes I'm all the way with you.
I thought of just that yesterday night when I wanted to add fields
fields for the FAL extension.
Currently the only ways to remove stuff are:
- unset TCA definition (which fails when you need to remove the field
only in a certain type)
- str_replace types (which is very very very unstable and at least from
my POV bad coding.
So if you have time to do this... GO GO GO ! :)
cheers
Mathias
--
Ernesto, Nov. 9th 2010:
"In the graphics generation routines of TYPO3 *anything* could cause a
side effect."
More information about the TYPO3-dev
mailing list