| Re: Using theme.ini or xo-info.php to get variables with smarty |
| by _metemet_ on 2009/12/5 12:39:01 thanks. but how can we put this with smarty. I can not use it like this : in xo-info.php : le="color: #000000"><?php $take = array( 'width' => '100%', 'color' => 'blue'), ); in theme.html : le="color: #000000"><?php <{$take.width}> how can it works ??? |
| Re: Using theme.ini or xo-info.php to get variables with smarty |
| by kris_fr on 2009/12/5 9:59:06 hi, Also --> http://www.digital-web.com/articles/generating_dynamic_css_with_php/ @+ |
| Re: Using theme.ini or xo-info.php to get variables with smarty |
| by Burning on 2009/12/4 17:16:56 hi' There are many ways to proceed (but I haven't tested anyone) : • a module, it means by database : > dbcss • using smarty in stylesheet, eg Pico Quote: div.pico_controllers_in_menu { float: <{$smarty.const._ALIGN_END}>; position: relative; top : -1.5em;} |
| Using theme.ini or xo-info.php to get variables with smarty |
| by _metemet_ on 2009/12/4 16:38:26 Hi, Is there anyway to get variables for themes. I mean in theme.ini le="color: #000000"><?php width="100%" color="red" then if it s possible we ll use smarty <{width}> , <{color}> in theme.html how can we take variables with this way or another way like xo-info.php or whatelse . thanks |