[TYPO3-english] Templavoila - conditions on contents element container
info at cybercraft.de
Sat Feb 6 11:27:24 CET 2010
>>> Is it possible?
> ... 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
tables = tt_content
source.current = 1
conf.tt_content < tt_content
#something different here
it should be no big deal to get what you want.
Wenn man keine Ahnung hat: Einfach mal Fresse halten!
(If you have no clues: simply shut your gob sometimes!)
Dieter Nuhr, German comedian
TYPO3 cookbook (2nd edition): http://www.typo3experts.com
More information about the TYPO3-english