With classic templating it is possible to define new pagetypes.
With TemplaVoila you know how to define a printversion. (Select "printer friendly" for "type of rendering")
Eine Popup-Version definieren
Three steps are neccessary:
- Provide a new renderingtype in the BE-formular, this could be done easy with TS-Config:
TCEFORM.tx_templavoila_tmplobj.rendertype.addItems.popup = Popupversion - Now you have to define a new TemplaVoila-Templaterecord for this new renderingtype. (similar to the printerfriendly version)
- Nor you only have to define when TYPO3 should use this new subtemplate. Therefore you have to edit your site Template. There are two diffrent ways to do this, I would prefer the second one because pagetypes support the TYPO3 caching.
- Use parameter &popup=1 :
page.10 = USER
page.10.userFunc = tx_templavoila_pi1->main_page
[globalVar = GP:popup> 0]
page.10.childTemplate = popup
[global] - Use a new pagetype
pagepopup<page
pagepopup.typeNum=1
pagepopup.10.childTemplate = popup
- Use parameter &popup=1 :

