Trisiana
|
Posted: 03/28/2004, 6:32 PM |
|
Hi, is it possible to make theme dynamic to simplify web maintenance? for
example, 1 month before Easter: I want to make my website automatically
change to easter theme, or 2 months before Christmas: I want to make my
website automatically change to Christmas theme...
|
|
|
Robert Rodgers
|
Posted: 03/29/2004, 6:47 AM |
|
Hi,
I have done it for a client. It isn't that hard, but you need to be somewhat detailed.
I put this link at the top of all my pages.
<link rel="stylesheet" href="./{scTheme}/style.css" type="text/css">
Then you need to rename all the class statements on each page with something like.
class="{scTheme}FieldCaptionTD"
Then in the page show event you need to
HTMLTemplate.SetVar "@scTheme" , "Caravan"
It is best if you use a DB table to hold the name of the Theme.
rob
"Trisiana" <trisiana@forum.codecharge> wrote in messagenews:c481r4$a24$1@news.codecharge.com...
> Hi, is it possible to make theme dynamic to simplify web maintenance? for
> example, 1 month before Easter: I want to make my website automatically
> change to easter theme, or 2 months before Christmas: I want to make my
> website automatically change to Christmas theme...
>
>
|
|
|
Trisiana
|
Posted: 03/29/2004, 5:25 PM |
|
Robert, thanks a bunch. I'll try!
Trisiana
|
|
|
|