By jessicakoh on
I am trying create a summary (custom) page for my Products page. I tried page-products.tpl.php. This page affected Products A to C.
Products
--Product A
--Product B
--Product C
Products is my vocabulary. I have 3 terms.
How do I have a custom page.tpl.php for my vocabulary, Products, not affecting my terms (Products A to C)?
Please advice on my template naming for Products page only.
Thank you.
Comments
...
You can put the following in your template.php, then use the template file 'page-products-all.tpl.php'.
(Code not tested. Based on this.)
Thank you so much, mooffie.
Thank you so much, mooffie.
It solved the problem.
Here is another solution. If
Here is another solution. If you are looking to have a specific tpl file for let's say vocabulary 1, then you could use this code: