CodeCharge Studio
search Register Login  

Visual Web Reporting

Visually create Web Reports in PHP, ASP, .NET, Java, Perl and ColdFusion.
CodeCharge.com

YesSoftware Forums -> CodeCharge Studio -> PHP

 dynamic theme

Print topic Send  topic

Author Message
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


Add new topic Subscribe to topic   


These are Community Forums for users to exchange information.
If you would like to obtain technical product help please visit http://support.yessoftware.com.

MS Access to Web

Convert MS Access to Web.
Join thousands of Web developers who build Web applications with minimal coding.

CodeCharge.com

Home   |    Search   |    Members   |    Register   |    Login


Powered by UltraApps Forum created with CodeCharge Studio
Copyright © 2003-2004 by UltraApps.com  and YesSoftware, Inc.