[TYPO3-templavoila] Changing footer with language change and by sections

Tony Lush tlush at advancewm.com
Mon Nov 3 21:09:17 CET 2008


I have partially solved this, for the languages, by making the 
lib.footer a COA and making a globalVar that switches with the language. 
I have not yet determined how to switch the footer in different sections 
of the site.

///////////////////////////////////////////////////
// lib.footer
///////////////////////////////////////////////////
// make it a COA, just in case the user wants to put
// anything else here. Use text files for variations
lib.footer = COA
lib.footer {
	stdWrap.prefixComment = 2|Output of lib.footer
	wrap = |
	100 = FILE
	100.file = fileadmin/path_to.../general_e.txt
}
// Language-specific settings first foreign language:
[globalVar = GP:L = 1]
lib.footer.100.file = fileadmin/path_to.../general_s.txt
[global]
// Language-specific settings second foreign language:
[globalVar = GP:L = 2]
lib.footer.100.file = fileadmin/path_to.../general_c.txt
[global]

Thanks -- Tony Lush


More information about the TYPO3-project-templavoila mailing list