[Typo3] Main html template selector

Pierre Rouwens prouwens at infoglobe.ca
Sat Nov 26 20:32:09 CET 2005


Do i have to use autoparser ?????????????? is this mandatory ???

Pierre


Pierre Rouwens wrote:
> Ok i've looked at the documentation modern template building...
> But i still don't understand why this TS doesn't work ??
> 
> ....
> plugin.tx_rlmptmplselector_pi1 {
>     templatePathMain = fileadmin/templates/
>     templatePathSub = fileadmin/templates/sub/
> }
> 
> page = PAGE
> page.bodyTag = <body>
> page.typeNum = 0
> page.includeCSS.file1 = fileadmin/templates/css/general.css
> page.includeCSS.file2 = fileadmin/templates/css/normal.css
> page.includeCSS.file3 = fileadmin/templates/css/gros.css
> page.includeCSS.file2.title = normal
> page.includeCSS.file2.media = all
> page.includeCSS.file3.title = gros
> page.includeCSS.file3.media = all
> page.includeCSS.file3.alternate = 1
> page.headerData.10 = TEXT
> page.headerData.10.value (
> <script type="text/javascript" 
> src="fileadmin/templates/scripts/styleswitcher.js"></script>
> <script type="text/javascript" 
> src="fileadmin/templates/scripts/multimenu.js"></script>
> )
> page.10 < plugin.tx_rlmptmplselector_pi1
> page.10 {
>    workOnSubpart = DOCUMENT_BODY
>    subparts.contenu < styles.content.get
> }
> 
> i don't wanna use the possibility to use different content template.
> 
> Do i use it anyway ?
> 
> Pierre




More information about the TYPO3-english mailing list