Einzelnen Beitrag anzeigen

  #1  
Alt 25.07.2008, 17:43
daniel huf
Gast
 
Beiträge: n/a
Standard [TYPO3-templavoila] content on all pages if none

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
_______________________________________________
TYPO3-project-templavoila mailing list
TYPO3-project-templavoila (AT) lists...netfielders.de
http://lists.netfielders.de/cgi-bin/...ct-templavoila