[TYPO3] Display content on specific page

Peter Russ peter.russ at 4many.net
Thu Feb 9 14:11:30 CET 2006


Mitja Felicijan schrieb:
> if this helps
> 
> --------
> 
> temp.mainTemplate = TEMPLATE
> temp.mainTemplate {
>   template =< plugin.tx_automaketemplate_pi1
>   workOnSubpart = DOCUMENT_BODY
> 
>   subparts.CONTENT < styles.content.get
>   subparts.TITLE < lib.TitleImg
>   #subparts.RNDIMG < lib.RndImg
>   subparts.MAIN_MENU < lib.MainMenu
>   subparts.CUSTOM_MENI_1 < lib.CustomMenu1
>   subparts.CUSTOM_MENI_2 < lib.CustomMenu2
>   subparts.CUSTOM_MENI_3 < lib.CustomMenu3
> 
> 
>   [globalVar = TSFE:id = 53]
>     subparts.RNDIMG < lib.RndImg
>   [else]
>     subparts.RNDIMG = TEXT
>     subparts.RNDIMG.field = &nbsp;
>   [end]
> 
> 
> }

Try it w/o nesting, i.e. get your condition out of the {} brackets.

Regs. Peter.


-- 
Fiat lux!
Docendo discimus.
_____________________________
4Many® Services
openBC: http://www.openbc.com/go/invuid/Peter_Russ



More information about the TYPO3-english mailing list