Gossamer Forum
Home : Products : Gossamer Links : Discussions :

Re: [brewt] Category Template - Don't want subs to inherit

Quote Reply
Re: [brewt] Category Template - Don't want subs to inherit In reply to
Hi there, is there another solution to this problem? We have categories from A to Z which all use the navcategory.html template. There are perhaps several hundred of these (i.e Actors>A, Actors>B, Actresses>A, etc!) and therefore the solution above wouldn't be ideal. Can we alter the code to disable templates being inherited by sub-categories?

Someone suggested adding this to the navcategory.html template

<%if Category_Template and Category_Template ne 'navcategory.html'%><%include $Category_Template%><%endparse%><%endif~%>

But it doesn't seem to work.

JeffB
GT customer for 6 years (and counting!)

Last edited by:

jeffb: Oct 3, 2006, 6:30 AM
Subject Author Views Date
Thread Category Template - Don't want subs to inherit Chrisp 3329 Sep 4, 2005, 8:21 AM
Thread Re: [Chrisp] Category Template - Don't want subs to inherit
brewt 3250 Sep 4, 2005, 2:42 PM
Post Re: [brewt] Category Template - Don't want subs to inherit
Chrisp 3238 Sep 4, 2005, 2:55 PM
Thread Re: [brewt] Category Template - Don't want subs to inherit
jeffb 3102 Oct 3, 2006, 6:25 AM
Thread Re: [jeffb] Category Template - Don't want subs to inherit
brewt 3099 Oct 3, 2006, 4:13 PM
Thread Re: [brewt] Category Template - Don't want subs to inherit
jeffb 3097 Oct 4, 2006, 5:04 AM
Thread Re: [jeffb] Category Template - Don't want subs to inherit
brewt 3076 Oct 4, 2006, 6:06 PM
Post Re: [brewt] Category Template - Don't want subs to inherit
jeffb 3105 Oct 5, 2006, 8:20 AM