[TYPO3] Different style for content elements

JoH info at cybercraft.de
Sat Jun 17 23:48:49 CEST 2006


>> every content element has "Frame" drop down list. There are values
>> as: Invisible, Ruler before, Indent etc.
>>
>> You can add your own frames as described here:
>> http://www.snippit.net/typoscript/be-personalisation/ce-frames.html
>
> Thanks. It is also a good hint.
>
>> But if you want some additional HTML *only between* content elements
>> there must be some condition that will change
>> "tt_content.stdWrap.wrap =
>>> your html here" in case this is last content element on the page.
>
> And thath's the exact problem i'm looking any solution for.

You can check for the first element instead of the last and prepend HTML to
any of the following elements:

tt_content.stdWrap.prepend = TEXT
tt_content.stdWrap.prepend {
    value = <HTML goes here>
    if.value = 1
    if.isGreaterThan.data = cObj:parentRecordNumber
}

Something like this should do the job.

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