[TYPO3] Display content on specific page

Mitja Felicijan mitja at percepcija.com
Thu Feb 9 12:11:18 CET 2006


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]


}

Mitja Felicijan pravi:
> I tried it but is doesn't work. I have 3.8.1 if that helps
> 
> tapio pravi:
>> Mitja Felicijan wrote:
>>> How can I display some content like styles.content.getRight just on 
>>> specific page that has specific id.
>>
>> Look at TSRef - there is an example, which you can apply
>> http://typo3.org/documentation/document-library/doc_core_tsref/globalVars/ 
>>



More information about the TYPO3-english mailing list