[TYPO3-english] Templavoila - conditions on contents element container

JoH asenau info at cybercraft.de
Sat Feb 6 11:27:24 CET 2010


>>> Is it possible?
>>
>> No.
>
> ... as you want it to be, that is with a TS condition. But you are
> free to check this by PHP code...

It's just about a proper TS setup for each of the containers.
You can set the "oldStyleColumnNumber" (which is a good thing anyway) and/or
you can assign TypoScript directly to the container with <TypoScript>.

In your case the column number might be enough, since you could use it for a
CASE or an if clause in TS.
If this doesn't work you can use TS within the usual RECORDS setup (the one
with source.current = 1)

Since RECORDS allows you to use this one:
10 = RECORDS
10 {
    tables = tt_content
    source.current = 1
    conf.tt_content < tt_content
    conf.tt_content {
        #something different here
    }
}

it should be no big deal to get what you want.

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




More information about the TYPO3-english mailing list