Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

  1. Index
  2. » Archives
  3. » Category Links

#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

#2 2005-12-25 07:38:47

maniqui
Member
From: Buenos Aires, Argentina
Registered: 2004-10-10
Posts: 3,070
Website

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)


La música ideas portará y siempre continuará

TXP Builders – finely-crafted code, design and txp

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

  1. Index
  2. » Archives
  3. » Category Links

Board footer

Powered by FluxBB