Gossamer Forum
Home : Products : Gossamer Links : Discussions :

Top category only linked

Quote Reply
Top category only linked

is it possible to have the top category then title for the current category being displayed?

For example, on the detailed page:

<%title_linked%> gives

Home : Business : Entertainment : Paramount

but what is needed would be:

Entertainment : Paramount

all linked correctly.

(sorry if covered before - couldn't find anything relevant!)

Privacy Software
Quote Reply
Re: [BLOOD] Top category only linked In reply to
Ok found this useful global the gives a custom url for the home link:

sub {
my $vars = shift;
my $title_linked = $vars->{title_linked};
$title_linked =~ s|^\s+<[^>]+>|<a href="/">|;
return $title_linked;

Now ideally I would like the 'Business' directory link to goto a custom location too.

Any ideas how?

Privacy Software

Last edited by:

BLOOD: Jul 1, 2003, 11:45 AM