Gossamer Forum
Home : Products : Gossamer Links : Version 1.x :

Change related Pages Link to cat name only

Quote Reply
Change related Pages Link to cat name only
Can someone show me how to change the Related Links from this fully linked title...

Jobs & Education/Employment/Casting & Modelling Agencies

...to just display this as a link like the normal categories...

Casting & Modelling Agencies

I know it's done in this sub routine I'm just not sure what to change...

# Calculate the related entries and put in a <LI> list.
$get_related->execute($OUT{category_id});
$OUT{related} = '';
while (($name) = $get_related->fetchrow_array) {
$OUT{related} .= qq|<li><a href="$LINKS{build_root_url}/|;
$OUT{related} .= &build_clean_name ($name);
$OUT{related} .= qq|/$LINKS{build_index}">$name</a></li>|;
}

Thanks