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

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

Here is the list of edits for this post
Re: [blacknight] hiding empty categories
Am trying a similar thing, using the following:

Code:
<%if Number_of_Links eq '0'%>
<p>Currently there are no articles for this category.
We have selected these top ten for you to review.
If you would like to submit an article, please go to
"<a href="/cgi-bin/add.cgi">Add An Article</a>" and login.</p>

<%topten%>
<%else%>
<%links%>
<%endif%>

I've tried <%if Number_of_Links ne '0'%> or <%if Number_of_Links '<' '0'%>

Whatever I do, I keep getting an empty field, and not printing the "Currently there are no articles for this ..." part, just keeps coming up blank... If I switch the two, will get the "Currently there are no articles for this..." part, but no links... am replacing the <%links%> part in category.html with the code above...
Any suggestions?

</not a clue>

Last edited by:

Dinky: Sep 11, 2005, 8:41 PM

Edit Log: