[TYPO3] Change page title only to one page

Cray Flatline cray at mass-media.net
Fri Apr 20 02:35:10 CEST 2007


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
> 



More information about the TYPO3-english mailing list