[TYPO3] overwrite template in page TSConfig
Stano Paška
stano.paska at gmail.com
Wed Nov 8 13:23:18 CET 2006
Hi,
it is possible to override value defined in TS template from page TSConfig?
In my template I have page.config.index_enable = 1
and for few pages I need set it to 0.
I don't want create separate template and assign it to that pages.
It is possible write some code into page TSConfig to overwrite this?
I found tried this solution, but it doeas not work. Can it be done
different/better?
in template:
page.config.index_enable = {$variable}
in root page TSConfig:
TSFE.constants.variable = 1
in some special page TSConfig:
TSFE.constants.variable = 0
Stano.
More information about the TYPO3-english
mailing list