Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
Pages: 1
#1 2005-12-25 07:27:28
- souvey
- New Member
- Registered: 2005-12-25
- Posts: 5
Category Links
My website is www.souvey.com
On the homepage, I have the category shown in the post
I don’t want that category to be a link, however, as I do not know how to setup categories
I am using the tag : <txp:category1 link=“n” />
however the link still shows up
It goes to http://www.souvey.com/category/Announcments which looks just like my homepage…
1. Why does it still show up as a link?
2. Is there an easy to to make the category pages work?
Thanks!
Offline
Re: Category Links
Hi souvey,
1. try this:
<txp:category1 link="0" />
(or <txp:category2 link="0" />
)
2. try using conditionals like
<txp:if_category>
...some content and tags here...
</txp:if_category>
Also, check some tag examples at the Alphabetical Tag Listing in the TextBook
Edit: removed the / from the opening <txp:if_category>
.
Last edited by maniqui (2005-12-25 18:45:14)
Offline
#3 2005-12-25 07:49:36
- souvey
- New Member
- Registered: 2005-12-25
- Posts: 5
Re: Category Links
Perfect :)
Thats exactly what I needed
Thanks
(PS. I think that might be a bug in txp, cause I used the little popup thing to configure the tag & it put in an “n” rather than a “0”)
Last edited by souvey (2005-12-25 07:49:45)
Offline
Pages: 1