[TYPO3] Attempting concatenation - syntax issue?
Krystian Szymukowicz
t33k.RE.MO.VE at RE.MO.VE.prolabium.com
Wed Jun 21 09:19:41 CEST 2006
John Kallies wrote:
>
> page.headerData.700 = TEXT
> page.headerData.700.10.dataWrap = <link rel="stylesheet"
> type="text/css" href="{$constants.stylesheet}" />
>
> # From the constants in the corporateStyle basis template
>
> constants.stylesheet =
> /fileadmin/templates/corporate/styles_corporate_main.css
>
> # From the constants in the departmentStyle basis template
>
> constants.stylesheet =
> /fileadmin/templates/department1/styles_department1_main.css
>
>
hello John
I cant help you with the constants because I've hardly ever used them,
but I can propose you another solution.
Have a look here:
http://typo3.org/documentation/document-library/references/doc_core_tsref/current/view/4/1/
You will find condition:
[PIDinRootline = pages-uid, pages-uid, ...]
so now we can make it like this
[PIDinRootline = 132]
page.headerData.700 = TEXT
page.headerData.700.value = <link rel="stylesheet" type="text/css"
ref="department.css" />
[end]
where 132 is example PID of your department
I hope that helps.
--
Krystian
More information about the TYPO3-english
mailing list