[TYPO3] TemplaVoilà Conditional Pagecontent

Daniel Mark dmark84 at gmail.com
Wed Jan 30 20:43:46 CET 2008


I have a multi-domain site using TemplaVoilà extension and would like  
to serve different Pagecontent records depending on which domain a  
visitor comes from.


Here is what I have right now:

page = PAGE
page.10 = USER
page.10.userFunc = tx_templavoila_pi1->main_page


I need to add something like this, that defines which Pagecontents  
will be included:

[globalString = IENV:HTTP_HOST = *domainA.com]
/* display Pagecontent with id=123 */
[globalString = IENV:HTTP_HOST = *domainB.com]
/* display Pagecontent with id=456 */
[global]


Thoughts?

Daniel


More information about the TYPO3-english mailing list