Hi,
Thanks to Andy, I was able to customize my include_form.html tempate so that it shows different components depending on the category.
But now I have the need to customize the detailed.html template because of the new additions to my include_form.html template.
What is the best way to to go about customizing it based on the category the item is listed in on the detailed template?
The way we are doing it for the include_form.html template is
<%set CatID = $ID%>
<%endif%>
<%if CatID == 75%>
New CAT 75 CONTENT HERE
<%else%>
ALL OTHER
<%endif%>
I tried this same way on the detailed template however it didn't work. My guess is that when the system builds the detailed it must not be looking at the category.
It's simple things we need to change. For example instead of "Description" on the detailed page, we need it to say "Card Price List Description" So if the code Andy gave us for the form template worked in the detailed template it would be great but as I say, it doesn't seem to.
Thanks,
Thanks to Andy, I was able to customize my include_form.html tempate so that it shows different components depending on the category.
But now I have the need to customize the detailed.html template because of the new additions to my include_form.html template.
What is the best way to to go about customizing it based on the category the item is listed in on the detailed template?
The way we are doing it for the include_form.html template is
Code:
<%if not CatID%> <%set CatID = $ID%>
<%endif%>
<%if CatID == 75%>
New CAT 75 CONTENT HERE
<%else%>
ALL OTHER
<%endif%>
I tried this same way on the detailed template however it didn't work. My guess is that when the system builds the detailed it must not be looking at the category.
It's simple things we need to change. For example instead of "Description" on the detailed page, we need it to say "Card Price List Description" So if the code Andy gave us for the form template worked in the detailed template it would be great but as I say, it doesn't seem to.
Thanks,