View Single Post
  #10  
Old 05-15-2012, 07:31 AM
  totaltec's Avatar 
totaltec totaltec is offline
 

X-Guru
  
Join Date: Jan 2007
Location: Louisville, KY USA
Posts: 5,823
 

Default Re: Load different style sheets for main categories

Have you tested by simply putting {$smarty.get.page} and seeing what the results are? I believe that variable shows the result of _get requests.

Try {$smarty.server.REQUEST_URI}:
PHP Code:
{if strpos($smarty.server.REQUEST_URI"SWCHS.html") !== false}
  <
p>SWCHS image/CSS</p>
{else}
  default 
image/css
{/if} 
__________________
Mike White - Now Accepting new clients and projects! Work with the best, get a US based development team for just $125 an hour. Call 1-502-773-6454, email mike at babymonkeystudios.com, or skype b8bym0nkey

XcartGuru
X-cart Tutorials | X-cart 5 Tutorials

Check out the responsive template for X-cart.
Reply With Quote