Gossamer Forum
Home : Products : Links 2.0 : Customization :

empty pages info....

Quote Reply
empty pages info....
Does anyone know how I can make links 2 put a little html tag on the index.html pages that it outputs if there is no links on that page, for instance, since we have 575 categories and are fairly new, we surely don't have all the categories have something in them, so it would be nice if links were to put a simple tag on the page, saying something, like no links available in this category, so that people don't think the system is just messed up instead of working.
Any suggestions towards this end.
Quote Reply
Re: empty pages info.... In reply to
Normally, the number of links for a category show right after the category title. If there are no links, the number will be 0.

So, it should not be too hard to test the $numlinks in sub site_html_print_cat and replace it with a graphic or something else if it is 0.