[Typo3] Multiple designs for the same pages with Templavoila

Kraft Bernhard kraftb at kraftb.at
Wed Apr 6 23:22:28 CEST 2005


Rudy Gnodde wrote:

> We've made a webshop with Typo3 using the templavoila extension. Now we
> want to give resellers the option to get the webshop in a different
> design. The design would have the same fields as the main (original)
> design. I have searched online and in the mailing list to find out how
> to do this easily, but haven't found anything.

I don't know if you are a developer or not but I just looked on the TemplaVoila
FE sourcecode and found:


                         if ($DS['meta']['sheetSelector'])       {
                                         // <meta><sheetSelector> could be something like "EXT:user_extension/class.user_extension_selectsheet.php:&amp;user_extension_selectsheet"
                                 $sheetSelector = &t3lib_div::getUserObj($DS['meta']['sheetSelector']);
                                 $renderSheet = $sheetSelector->selectSheet();
                         } else {
                                 $renderSheet = 'sDEF';
                         }

Which means that a user-function can get called which determines the sheet which will get used for the
Content-Element (And AFAIK you could store different templates in different sheets)I

You could hope that this is also implemented on the Page-Level.. if you want me I can check ...


greets,
Bernhard



More information about the TYPO3-english mailing list