At 3/30/2003 12:42 PM, Lars Tvedt wrote:

> i would have used templates: heres one http://smarty.php.net

> "Liam Gibbs" <[EMAIL PROTECTED]> 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: [EMAIL PROTECTED]
Web: www.healthtvchannel.org


-- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php



Reply via email to