[Typo3] Multiple designs for the same pages with Templavoila
Rudy Gnodde
gnodde.rudy at wag.nl
Thu Apr 7 09:06:11 CEST 2005
I am a developer, but I have already found a (very easy) way of doing
it. I can use a mount point with a different template and TS/TD which
points to the original site root.
Groeten,
Rudy Gnodde
Wijngaarden AutomatiseringsGroep & WIND Internetbureau
Email: rgn at wag.nl
WWW: http://www.wag.nl >-+-< http://www.typo3demo.nl
-----Oorspronkelijk bericht-----
Van: typo3-english-bounces at lists.netfielders.de
[mailto:typo3-english-bounces at lists.netfielders.de] Namens Kraft
Bernhard
Verzonden: woensdag 6 april 2005 23:22
Aan: typo3-english at lists.netfielders.de
Onderwerp: Re: [Typo3] Multiple designs for the same pages with
Templavoila
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:&user_exten
sion_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
_______________________________________________
Typo3-english mailing list
Typo3-english at lists.netfielders.de
http://lists.netfielders.de/cgi-bin/mailman/listinfo/typo3-english
More information about the TYPO3-english
mailing list