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

Products: Gossamer Links: Development, Plugins and Globals: Re: [Alba] hiding empty categories: Edit Log

Here is the list of edits for this post
Re: [Alba] hiding empty categories
Hi

In subcategory.html If I add this, does not work

The code in subcategory I have is:

Code:
<dt>
<a href="<%escape_html URL%>">
<%if RelationName%>
<%RelationName%>
<%else%>
<%Name%>
<%endif%>
<%if Related%>@<%endif%></a> (<%Number_of_Links%>)<%if Has_New_Links eq 'Yes'%>
<span class="new-item"><span>nuevo</span></span><%endif%>
<%if Has_Changed_Links eq 'Yes'%> <span class="updated-item"><span>actualizado</span></span><%endif%>
</dt>
<%if Description%><dd><%Description%></dd><%endif%>


And to make this work, I changed to:

Code:
<%if Number_of_Links '>' '0'%>

<dt>
<a href="<%escape_html URL%>">
<%if RelationName%>
<%RelationName%>
<%else%>
<%Name%>
<%endif%>
<%if Related%>@<%endif%></a> (<%Number_of_Links%>)<%if Has_New_Links eq 'Yes'%>
<span class="new-item"><span>nuevo</span></span><%endif%>
<%if Has_Changed_Links eq 'Yes'%> <span class="updated-item"><span>actualizado</span></span><%endif%>
</dt>
<%if Description%><dd><%Description%></dd><%endif%>

<%endif%>





In Reply To:
<%if Number_of_Links '>' '0'%>
<dt><a href="<%URL%>"><%Name%></a>. </dt>
<%endif%>

It won't stop the pages building but they won't be listed on the parent category pages.

Last edited by:

tenoch: Nov 21, 2006, 9:19 AM

Edit Log: