[TYPO3-templavoila] content on all pages if none

daniel huf dhuf at cross-systems.com
Fri Jul 25 17:43:23 CEST 2008


I used it on an old site and it worked like a charm, what might 
interfere with my new 4.2 ?

In the DATA STRUCTURE:

10= RECORDS
10.source.current=1
10.tables = tt_content
10.wrap = <!--TYPO3SEARCH_begin--> | <!--TYPO3SEARCH_end-->
10.stdWrap.ifEmpty.cObject < lib.page.baseText

In a loaded TS template

CONSTANTS

# cat=baseText/chtml/a; type=int; label= pid of the sysfolder content
lib.page.baseText.pid = 312

# cat=baseText/chtml/b; type=wrap; label= baseText wrap
lib.page.baseText.wrap = <div>|</div>

SETUP

lib.page.baseText = CONTENT
lib.page.baseText {
	table = tt_content
	select.max = 2
	select.orderBy = date DESC
	select.pidInList= {$lib.page.baseText.pid}
}
lib.page.baseText.stdWrap.wrap = {$lib.page.baseText.wrap}

Might it be the "me_templavoilalayout2" or something that simulates 
content ? or is the "ifEmpty.cObject" not supported anymore in the 4.2 ?

thanks


More information about the TYPO3-project-templavoila mailing list