Re: Theme selector?

From: Date: Tue, 01 Apr 2003 19:50:02 +0000
Subject: Re: Theme selector?
References: 1 2  Groups: php.general 
Request: Send a blank email to php-general+get-141861@lists.php.net to get a copy of this message
At 3/30/2003 12:42 PM, Lars Tvedt wrote:
i would have used templates: heres one http://smarty.php.net
"Liam Gibbs" <liamgibbs@sympatico.ca> wrote in message
I'd store your themes in stylesheets instead.
Question, Lars, does Smarty allow for easy template changing? I haven't used it very much. Otherwise, if you're using CSS-P for your site, it'd be a snap just to store a cookie that includes which CSS file the user wants for their theme and just change the header. <style type="text/css" media="all">@import "<? $cookieValue = $_COOKIE['templatecookie']; echo $cookieValue; ?>.css";</style> -- S. Keller UI Engineer The Health TV Channel, Inc. (a non - profit organization) 3820 Lake Otis Pkwy. Anchorage, AK 99508 907.770.6200 ext.220 907.336.6205 (fax) Email: skeller@healthtvchannel.org Web: www.healthtvchannel.org

« previous php.general (#141861) next »