[Typo3] different templates in different languages
Peter Russ
peter.russ at 4many.net
Thu Apr 21 02:37:57 CEST 2005
Wim Cruysberghs - thuis wrote:
> Found it,
>
> This is my setup:
>
>
> page = PAGE
> page.typeNum = 0
> page.stylesheet = fileadmin/templates/nouvo/styledsbtestmenu.css
> page.1 = TEMPLATE
> page.1.marks.PAGE_UID = TEXT
> page.1.marks.PAGE_UID.field = uid
> page.1 {
> template = FILE
> template.file = fileadmin/templates/nouvo/templateNL.html
> template.file.lang.nl = fileadmin/templates/nouvo/templateNL.html
> template.file.lang.fr = fileadmin/templates/nouvo/templateFR.html
> workOnSubpart = DOCUMENT_BODY
> subparts.CONTENT_LEFT < styles.content.getLeft
> subparts.CONTENT_RIGHT < styles.content.getRight
> subparts.CONTENT_BORDER < styles.content.getBorder
> subparts.CONTENT < styles.content.get
> subparts.LEFTNAV < temp.challengeMenu
> subparts.ROOTMENU < temp.pathMenu
> subparts.LANGSEL = PHP_SCRIPT
> subparts.LANGSEL.file = media/scripts/example_languageMenu.php
>
> }
>
> Greetings to all,
>
> Wim
>
[...]
Good job!
Question: is the layout for NL different from FR or why do you need 2
different templates?
Regs. Peter.
More information about the TYPO3-english
mailing list