RE: [SMARTY] Using Smarty for Dynamic CSS
| From: | Alan McFarlane | Date: | Fri, 03 May 2002 13:20:21 +0000 |
| Subject: | RE: [SMARTY] Using Smarty for Dynamic CSS | ||
| References: | 1 | Groups: | php.smarty.general |
| Request: | Send a blank email to php-smarty-general+get-4023@lists.php.net to get a copy of this message | ||
Yup
I use the following code:
-- index.php --
...
$tpl->assign("style", "default");
...
-- index.tpl --
...
<link rel="stylesheet" type="text/css"
href="./styles/{$style}.css" />
...
-----Original Message-----
From: MPN [mailto:mpn@3dgamelink.com]
Sent: 03 May 2002 04:02
To: smarty-general@lists.php.net
Subject: [SMARTY] Using Smarty for Dynamic CSS
Has anyone explored the possibility of using smarty for dynamically changing
CSS selectors?
KT