Hi Guys,
I am trying to create a different index_product_list.tpl for one category.
The reason for this is I would like to move items/elements around which cannot be achieved through css.
So far I have done this:
I have added a switch into /includes/init_includes/init_template.php
This works, however every other aspect of the template changes aswell.Code:switch($_GET['cPath']) { //test for a matching string case "158": // if current cPath is 158 set the appropriate template $template_dir = "video"; // directory name of template (includes/templates/video) break; }
So to get this working correctly I would have to go into every individual folder looking for my overide files, create a copy and rename to video. Along with loading the template and resetting the layout boxes.
It seems pointless making duplicate files, is there any more elegant way to change one template for one category?
Kind Regards
Dave


Reply With Quote
