php code to use other template if category is chosen
Posted: Fri Jul 01, 2011 6:46 am
Hello,
I need help in trying to write coding. 1. When a person chooses a category I call "Resume", I want the coding to use a template called listing_classified_1.tpl.
However the software uses listing_classified.tpl for all the categories. But I want it to use listing_classified_1.tpl for the "Resume" category only.
Here is the site: http://www.fleaslist.com/index.php?a=2&b=134
This is the "listing_classified.tpl" template it uses for all categories. However, I want it to use listing_classified_1.tpl for the "Resume" category only and all the other categories still use "listing_classified.tpl".
I don't know how to write the coding so please excuse my ignorance.
I need help in trying to write coding. 1. When a person chooses a category I call "Resume", I want the coding to use a template called listing_classified_1.tpl.
However the software uses listing_classified.tpl for all the categories. But I want it to use listing_classified_1.tpl for the "Resume" category only.
Here is the site: http://www.fleaslist.com/index.php?a=2&b=134
This is the "listing_classified.tpl" template it uses for all categories. However, I want it to use listing_classified_1.tpl for the "Resume" category only and all the other categories still use "listing_classified.tpl".
I don't know how to write the coding so please excuse my ignorance.