[TYPO3-english] Re: Set page title based on conditions

Dennis Hoffland d.o.hoffland at tele2.nl
Wed Jun 17 17:13:56 CEST 2015


Hello,

Moving all conditions outside the {} brackets seems to do the trick for me:

page.headerData.40 {
20 = TEXT
20 {
wrap= <title> {$siteName} | |</title>
}
}
[globalVar = TSFE:id != 1]
page.headerData.40.20.field = title
[global]
[globalVar = TSFE:id = 1]
page.headerData.40.20.value = Another Home page title
[global]
[globalVar = TSFE:id = 1] AND [globalVar = GP:L = 1]
page.headerData.40.20.value = Een andere Home pagina titel
[global]

Hope this might help someone.

Kind regards,

Dennis


More information about the TYPO3-english mailing list