[TYPO3-english] Home page +EXT template not applying

Nils Hodyas post at dietantejensen.de
Fri Jan 31 09:26:49 CET 2014


> 2. the other way to restrict some TS to single pages (or subtrees) are 
> conditions depending on page-IDs:
>
> [page|uid = 123]
> http://docs.typo3.org/typo3cms/TyposcriptReference/Conditions/Reference/Index.html#id40 
>
>
> [PIDinRootline = 123]
> http://docs.typo3.org/typo3cms/TyposcriptReference/Conditions/Reference/Index.html#condition-pidinrootline 
>
>
> [PIDupinRootline = 123]
> http://docs.typo3.org/typo3cms/TyposcriptReference/Conditions/Reference/Index.html#condition-pidupinrootline 
>
>
> [globalVar = TSFE:id = 123]
> http://docs.typo3.org/typo3cms/TyposcriptReference/Conditions/Reference/Index.html#condition-globalvar 
>
>
>
> 3a. you can use stdWrap-functions .if to set individual values 
> depending on special values (which may be the page-id):
>
> http://docs.typo3.org/typo3cms/TyposcriptReference/Functions/If/Index.html 
>
>
> (in conjunction with .override, as single values in COA)
>
> 3b. you may use CASE
> http://docs.typo3.org/typo3cms/TyposcriptReference/ContentObjects/Case/Index.html 
>
>
> bernd

4. you could write the page ID in every body tag:

page {
            bodyTagCObject = TEXT
            bodyTagCObject.value.field = uid
            bodyTagCObject.value.wrap = <body id="p|">
}

Nils


-- 
Nils Hodyas - Webdesign von die Tante Jensen · Großherzog-Friedrich-Straße 117 · 66121 Saarbrücken · (0681) 925 63 43 · 0160 318 183 7 · http://dietantejensen.de



More information about the TYPO3-english mailing list