[TYPO3-english] TypoScript Help!
Shahil Sham
ss at phases.dk
Fri Oct 5 13:05:37 CEST 2012
Hello guys,
I'm new to Typo3, and building a site with TemplaVoila.
I got the following TS (within TV XML) which outputs 2 sets of content
[IF Content != '']
10= RECORDS
10.source.current=1
10.tables = tt_content
10.wrap.required = 1
10.wrap = <!--TYPO3SEARCH_begin--> | <!--TYPO3SEARCH_end-->]]>
[ELSE]
20 = CONTENT
20.table = tt_content
20.select {
pidInList = 36
}
[END]
The first set (10) is the current page content, and the second (20) fetches
content from page ID 36.
Currently both are printed, but I want 20 to print only if 10 is empty.
How can I achieve this?
--
Shahil Sham
ss at phases.dk
skype: shahilsham
More information about the TYPO3-english
mailing list