Gossamer Forum
Home : Products : Gossamer Links : Discussions :

add category names in links.html

Quote Reply
add category names in links.html
Hi!

I want to add category names in front of the title of my links like

business: title
description

business: title
description

and so on..

But I donīt know what to add in links.html

I understand there are different tables for the links and the categories, but i just want to add <%category%> or something like that in links.html, but it canīt find that tag.
Quote Reply
Re: [drumstick] add category names in links.html In reply to
I have written all my category names in <%meta_description%> and I would like to call <%meta description%> in links.html, but i canīt call it? It just works in category.html template.
Quote Reply
Re: [drumstick] add category names in links.html In reply to
Check this:

http://www.gossamer-threads.com/..._belongs_to_P280625/

This does what you want.

John
Quote Reply
Re: [drumstick] add category names in links.html In reply to
Thatīs almost what i wanted. I have written all the category names in "meta_description" tag in the category browser, and I would like links to call the meta_description tag in the category table.

or where can i edit the orignial names without destroying the url structure?
Quote Reply
Re: [drumstick] add category names in links.html In reply to
I have managed to get the names from meta_desciption now, but itīs linked. I want it unlinked since the names are different from the url structure.
Quote Reply
Re: [drumstick] add category names in links.html In reply to
If you use the code I point to, change
Code:
$cat .= "<a href=\"$CFG->{build_root_url}/$fullname\">$name</a> ";
to
Code:
$cat = "name ";

I think ...

Last edited by:

gotze: Apr 17, 2005, 1:22 PM
Quote Reply
Re: [gotze] add category names in links.html In reply to
already did that, everything is working fine now.