Gossamer Forum
Home : Products : Gossamer Links : Development, Plugins and Globals :

What's the best way to customize the detailed template to do...

Quote Reply
What's the best way to customize the detailed template to do...
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
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,
Subject Author Views Date
Thread What's the best way to customize the detailed template to do... Westin 3637 Apr 28, 2009, 3:15 AM
Post Re: [Westin] What's the best way to customize the detailed template to do...
Andy 3537 Apr 28, 2009, 3:35 AM
Post Re: [Westin] What's the best way to customize the detailed template to do...
Westin 3533 Apr 28, 2009, 3:43 AM