[TYPO3] Change page title only to one page
Cray Flatline
cray at mass-media.net
Fri Apr 20 04:02:23 CEST 2007
Ries van Twisk wrote:
all works.. Problem was in the spaces in the [ end ]. Thanks a lot!! (:
> Hey,
>
> you cannot put conditions there,
> try something like this:
>
> page.headerData.1 = TEXT
> page.headerData.1 {
> noTrimWrap = |<title>Root page title</title>|
> }
>
> [globalVar = TSFE:id=1]
> [else]
> page.headerData.1.field = title
> page.headerData.1.noTrimWrap = |<title>|, internal page title</
> title>|
> [ end ]
>
>
>
> On Apr 19, 2007, at 7:35 PM, Cray Flatline wrote:
>
>> I tried such condition, but it doesn't work )):
>>
>> config.noPageTitle = 1
>> page.headerData.1 = TEXT
>> page.headerData.1 {
>> [globalVar = TSFE:id=1]
>> noTrimWrap = |<title>Root page title</title>|
>> [else]
>> field = title
>> noTrimWrap = |<title>|, internal page title</title>|
>> [ end ]
>> }
>>
>>> Check for conditions in TSRef.
>>>> I'm rewriting page titles with such script
>>>>
>>>> config.noPageTitle = 1
>>>> page.headerData.1 = TEXT
>>>> page.headerData.1 {
>>>> field = title
>>>> noTrimWrap = |<title>|, additional text </title>|
>>>> }
>>>>
>>>>
>>>> But I need to rewrite title ONLY of root page (id=1) to "Root title
>>>> text". Can somebody help me with it? I tried to make it with "if
>>>> {}" in
>>>> above script but it didn't work. I'm a newbie in TS, so please help
>>>> me.
>>>> :-)
>>>>
>>>> (sorry for above mail - some troubles with mailer)
>>>> --
>>>> WBR, Cray Flatline
>>>> _______________________________________________
>>>> TYPO3-english mailing list
>>>> TYPO3-english at lists.netfielders.de
>>>> http://lists.netfielders.de/cgi-bin/mailman/listinfo/typo3-english
>> _______________________________________________
>> TYPO3-english mailing list
>> TYPO3-english at lists.netfielders.de
>> http://lists.netfielders.de/cgi-bin/mailman/listinfo/typo3-english
>
More information about the TYPO3-english
mailing list