Gossamer Forum
Home : Products : Gossamer Links : Discussions :

If statement to display message

Quote Reply
If statement to display message
Instead of displaying an empty page if no links are in a subcategory, I would like to display a message in that empty subcategory page. I don't mind the empty page displaying, I'd just like to insert a message with it, such as:
Code:
<%if Number_of_Links > 0%> No links to display at this time. <%endif%>
When I use this in the subcategory template, it shows up on the main category/subcategory listing under many links. I just want it to show up on that empty subcategory's page. I looked at the category.html and link.html templates, but I don't see a place to insert this code. Is there a better way to go about producing this message?

Thanks,
WG
Subject Author Views Date
Thread; hot thread If statement to display message Westiegirl 6488 Jul 8, 2010, 3:12 PM
Thread; hot thread Re: [Westiegirl] If statement to display message
Andy 6298 Jul 9, 2010, 12:04 AM
Thread; hot thread Re: [Andy] If statement to display message
Westiegirl 6283 Jul 9, 2010, 7:15 AM
Thread; hot thread Re: [Westiegirl] If statement to display message
Andy 6305 Jul 9, 2010, 7:18 AM
Thread; hot thread Re: [Andy] If statement to display message
Westiegirl 6318 Jul 9, 2010, 7:33 AM
Thread; hot thread Re: [Westiegirl] If statement to display message
Andy 6292 Jul 9, 2010, 7:48 AM
Thread; hot thread Re: [Andy] If statement to display message
Westiegirl 6296 Jul 9, 2010, 7:52 AM
Thread; hot thread Re: [Westiegirl] If statement to display message
Andy 6291 Jul 9, 2010, 8:02 AM
Thread; hot thread Re: [Andy] If statement to display message
Westiegirl 6285 Jul 9, 2010, 8:14 AM
Thread; hot thread Re: [Westiegirl] If statement to display message
Andy 6265 Jul 9, 2010, 8:20 AM
Thread; hot thread Re: [Andy] If statement to display message
Westiegirl 6296 Jul 9, 2010, 8:45 AM
Thread; hot thread Re: [Westiegirl] If statement to display message
Andy 6282 Jul 9, 2010, 8:49 AM
Post; hot thread Re: [Andy] If statement to display message
Westiegirl 6257 Jul 9, 2010, 8:56 AM