techmistress Posted February 19, 2009 Share Posted February 19, 2009 I created a slightly different template for the ViewCat page if a specific category is selected. However, nothing changes. I put the following in my ViewCat.inc page, can someone tell me if I'm way off on my code? if($_GET['catId'][cat_father_id] == 7) { $view_cat = new XTemplate ("content".CC_DS."viewCat2.tpl"); }else{ $view_cat = new XTemplate ("content".CC_DS."viewCat.tpl"); } Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.