On 1 Apr 2003 at 10:50, Steve Keller wrote: > 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.
Of course you'd use templates with CSS. I use template systems in Perl (TT) and smarty for PHP. For both I just dynamically determine the path to templates they want /thin /thick and your templates can be completeley different, not just style changes. Also, I've not convinced anyone where I'm at now to use smarty. In my mind they are penny-wise and pound foolish. The real little extra time you might need to use a template system is richly rewarded in code re-use and future changes to the site not to mention, imho, thinking better about what one is doing. Peter -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php