Guest Posted December 21, 2005 Posted December 21, 2005 Hi Guys, I understand that the index.php for osc prints out the code for: the home page If we are browsing a category If we have selected a product. Is there a way on the index.php to do an if statement so we know if the user is viewing the page as the home page, a category page or a product page. Essentially I want a little more control over the framework/navigation of the header and coloum files. ie. if this is the home page then use this header.php else use header2.php Hope you can help, thanks, Ally
Guest Posted December 21, 2005 Posted December 21, 2005 there is already control over it. Examine the $category_depth variable in index.php for the different cases.
Recommended Posts
Archived
This topic is now archived and is closed to further replies.