[TYPO3-core] Changing behavior of the TEXT cObject

Alexander Stehlik alexander.stehlik at gmail.com
Thu Feb 6 13:34:13 CET 2014


This sounds like a great idea. I like it much better than the other 
approach (only allow stdWrap) because it means much less required 
modifications to current TypoScript templates.

+1 from me for allowing stdWrap properties at the root level of all 
content objects.

Am 06.02.2014 13:04, schrieb Markus Klein:
>
>> -----Original Message-----
>> From: typo3-team-core-bounces at lists.typo3.org [mailto:typo3-team-core-
>> bounces at lists.typo3.org] On Behalf Of JoH asenau
>> Sent: Thursday, February 06, 2014 12:45 PM
>> To: typo3-team-core at lists.typo3.org
>> Subject: Re: [TYPO3-core] Changing behavior of the TEXT cObject
>>
>>> This would not even be a breaking change and you don't have to replace
>>> the whole TypoScript code, since it will be fully backwards compatible.
>>>
>>> So adding stdWrap on the first level would be a real improvement.
>>
>> BTW: There is no problem having to "unset" other root properties like i.e.
>> "value" in TEXT or "file" in IMAGE, since this will be done automatically by
>> stdWrap internally.
>>
>> There was a team at a workshop at the developer days before 4.5 checking
>> all the appearances of the different properties and they did not find any
>> doubles while comparing root level methods of cObjects with stdWrap
>> methods.
>
> Great, good to know that has been checked!
>
>>
>> Additionally we built in an array with "allowed" stdWrap methods, that is
>> intersected with the incoming properties and leaves just the official stdWrap
>> properties in place.
>>
>> So it would be easy to do, backwards compatible and more comfortable for
>> the integrators to introduce root level stdWrap methods for each cObject.
>
> Then lets go for this, if it makes things for integrators easier and doesn't harm us code wise.
>
>>
>> HTH
>>
>> 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
>
>
>
> Kind regards
> Markus
>
> ------------------------------------------------------------
> Markus Klein
> TYPO3 CMS Active Contributors Team Member
>


-- 
Alexander Stehlik
alexander.stehlik at gmail.com


More information about the TYPO3-team-core mailing list