[TYPO3] Different tt_content.stdWrap.wrap based on colPos

JoH info at cybercraft.de
Tue Jun 20 19:13:28 CEST 2006


>> I've looked online and found things like this
>> tt_content.stdWrap.outerWrap = CASE

> I have been trying that, but you know, after a day or two of adding
> code that you've picked up from the list archive some of which works
> (badly) and some of which doesn't work at all, you kinda lose heart.
>
> Back to the search I guess :)


tt_content.stdWrap.outerWrap.cObject = CASE
                                                ^^^^^^

outerWrap is just a string + additional stdWrap.
So outerWrap = CASE just gives you the string CASE as a wrap, while the
above solution will create outerWrap out of a CASE element.

Joey

-- 
Wenn man keine Ahnung hat: Einfach mal Fresse halten!
(If you have no clues: simply shut your knob sometimes!)
Dieter Nuhr, German comedian
openBC: http://www.cybercraft.de





More information about the TYPO3-english mailing list