perl-embperl mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Gunnar Wolf <>
Subject Re: How to build a mulit template website
Date Tue, 28 Nov 2006 00:08:01 GMT
abhishek jain dijo [Sun, Nov 26, 2006 at 01:11:18AM +0530]:
> Hi Kolikov,
> I think i was not able to explain fully,
> 1)multi template site for me means like we have one theme for one domain and
> other for another domain or lets say one theme on  one day eg. christmas and
> another i have at the new year.How to make such and change by changing a
> parameter in the database, i have seen such things in php but i want to know
> how to do this in embperl.

If you are basically trying to differentiate your sites by having
different _design_ but the same _functionality_, maybe you want to
have different stylesheets - Add in the header of your templates, say:

<link rel="stylesheet" href="/system_style.css" type="text/css">

And you can have completely different presentations. Besides, this
will help separate logic from presentation, which is always good! ;-)

Gunnar Wolf - - (+52-55)5623-0154 / 1451-2244
PGP key 1024D/8BB527AF 2001-10-23
Fingerprint: 0C79 D2D1 2C4E 9CE4 5973  F800 D80E F35A 8BB5 27AF

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message