Re: If Statement for any page?
If this is for category pages then $cat will work - $cat holds the current category id. But you should put your code in include/categories.php and assign the result to smarty. Then you can use that smarty variable in a template to show the links
__________________
Steve Stoyanov
CFLSystems.com
Web Development
|