Re: Load different style sheets for main categories
Had an idea!
With clean URLs set the URL can/will contain the category name?
What smarty or PHP code would look for a word inside the URL and load image/css based on what it finds eg. {if strpos($smarty.get.page, "SWCHS.html") !== false}
<p>SWCHS image/CSS</p>
{else}
default image/css
{/if}
Would something like that work?
If so what code should I use as my example is not finding SWCHS
Keith
__________________
tech990
|