Gossamer Forum
Home : Products : Gossamer Links : Discussions :

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

Quote Reply
Re: [jeffb] Category Template - Don't want subs to inherit In reply to
You'll probably want to remove the line:
<%if Category_Template and Category_Template ne 'navcategory.html'%><%include $Category_Template%><%endparse%><%endif~%>
from your templates anyways since it isn't needed (it was old template code that was left in).

There's currently no easy way to disable the inheritance, but it's on my todo list. In the meantime, You could just use what I suggested above for the upper level categories and clear out the Category_Template values for the categories.

Another thing you could do is create a new column and use that old line of template code at the top of your category.html template:
<%if COLUMNNAME%><%include $COLUMNNAME%><%endparse%><%endif~%>

Adrian

Last edited by:

brewt: Oct 3, 2006, 4:14 PM
Subject Author Views Date
Thread Category Template - Don't want subs to inherit Chrisp 3333 Sep 4, 2005, 8:21 AM
Thread Re: [Chrisp] Category Template - Don't want subs to inherit
brewt 3254 Sep 4, 2005, 2:42 PM
Post Re: [brewt] Category Template - Don't want subs to inherit
Chrisp 3242 Sep 4, 2005, 2:55 PM
Thread Re: [brewt] Category Template - Don't want subs to inherit
jeffb 3106 Oct 3, 2006, 6:25 AM
Thread Re: [jeffb] Category Template - Don't want subs to inherit
brewt 3104 Oct 3, 2006, 4:13 PM
Thread Re: [brewt] Category Template - Don't want subs to inherit
jeffb 3101 Oct 4, 2006, 5:04 AM
Thread Re: [jeffb] Category Template - Don't want subs to inherit
brewt 3080 Oct 4, 2006, 6:06 PM
Post Re: [brewt] Category Template - Don't want subs to inherit
jeffb 3109 Oct 5, 2006, 8:20 AM