Gossamer Forum
Home : Products : Links 2.0 : Discussions :

Place text if empty category

Quote Reply
Place text if empty category
Hi,

How to place a text if i have a empty category with no links.

I mean if there is no link at this moment in a new category,
the site is empty. I want to show a text like this:
- No entries in this category -
until the first link is added to this new catergory.

I tried to use an "if-question" in the category-template,
but there is no positive result.

Who can help me, thank you

Andreas

Quote Reply
Re: Place text if empty category In reply to
1) Make sure you have the Enhanced Template Mod installed - can be found here in the resources section:

http://www.gossamer-threads.com/...es/Detailed/877.html

2) Then in your category template:
<%ifnot links%>
No entries in this category
<%endif%>


Mapo
Links Installer
http://www.youthresources.com/services/index.html
Quote Reply
Re: Place text if empty category In reply to
Hi Mapo,

thank you, that's what I'am looking for.

Bye Andreas