Gossamer Forum
Home : Products : Links 2.0 : Customization :

Category clean

Quote Reply
Category clean
Hello all!

I am starting out using links 2.0. I will upgrade in the near future but want to see if my site can work first before I do so.


Anyway in links 2.0 I use the category_clean near the top of the page to show the web surfer where they are. An example is Electronics : Audio. What I want it to do is make the Electronics a link to the /Electronics/ directory and the Audio to be a link to /Electronics/Audio/. So each category is a link back to that categories directory. I have searched and searched and could not find the answer.

I got close though. I used <a href="$url"><%category_clean%></a> but when I build it, it adds the $url at the end of it so the link looks like /Electronics/Audio/$url and the /Electronics/ is not separate it is part of the whole link. So the page link looks like this

Home: Electronics :Audio

Where everything that is underlined is a link.

I hope I have explained what I want.

Any help is greatly appreciated.

Thank you.
Quote Reply
Re: [bytor] Category clean In reply to
Try using this tag: <%title_linked%>

Have fun, Links2 has many possibilities! I am currently working on a version to be used as a simple CMS...


Leonard
aka PerlFlunkie
Quote Reply
Re: [PerlFlunkie] Category clean In reply to
Thanks PerlFlunkie

That worked.