[TYPO3-core] RFC #16096 Bug: addToAllTCATypes after certain fields does not work anymore

JoH asenau info at cybercraft.de
Wed Dec 15 21:35:29 CET 2010


> We will need removeFromAllTCATypes and replaceInAllTCATypes as well,
> to avoid the simple string replacement workarounds that are currently
> used by extension developers but might break TCA settings, but this
> will be done in another RFC.   

Attached patch adds the command "replace:fieldname" to the existing "before" and "after".
Automatically replaces a field with addToAllTCATypes if it was found in a palette of a type.
Replaces a field with addFieldToPalette as well as with the other two methods that make use of executePositionedStringInsertion.

Cheers

Joey

-- 
Wenn man keine Ahnung hat: Einfach mal Fresse halten!
(If you have no clues: simply shut your gob sometimes!)
Dieter Nuhr, German comedian
Xing: http://contact.cybercraft.de
Twitter: http://twitter.com/bunnyfield
TYPO3 cookbook (2nd edition): http://www.typo3experts.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 16096_v2.diff
Type: application/octet-stream
Size: 7203 bytes
Desc: not available
URL: <http://lists.typo3.org/pipermail/typo3-team-core/attachments/20101215/a1239fe5/attachment.obj>


More information about the TYPO3-team-core mailing list