[TYPO3] setting sitetitle inside typoscript in a condition block

Zachary Denison zacharydenison at gmail.com
Thu Apr 26 18:12:26 CEST 2007


I am using a single typoscript template for my site, but I have 2
different languages in the (one tree fits all paradigm).  So I
conditionally include the template, which works beautifully.  However
I would like the sitetitle to be different for each language too, and
the sitetitle does not get set according to my below code, am I doing
something wrong? Is it not possible to set the sitetitle inside the
typoscript.

config.linkVars = L
config.sys_language_uid = 0
config.language = en
plugin.tx_automaketemplate_pi1.content.file = {$TEMPLATE_EN}
sitetitle = This is the English Sitetitle
[globalVar = GP:L = 0]
	config.sys_language_uid = 0
	config.language = en
	plugin.tx_automaketemplate_pi1.content.file = {$TEMPLATE_EN}
	sitetitle = This is the English Sitetitle
[globalVar = GP:L = 1]
	config.sys_language_uid = 1
	config.language = ru
	plugin.tx_automaketemplate_pi1.content.file = {$TEMPLATE_RU}
	sitetitle = This is the Russian Sitetitle
[global]


More information about the TYPO3-english mailing list