Gossamer Forum
Home : Products : Links 2.0 : Customization :

title_linked

Quote Reply
title_linked
Where can I edit the tag title linked, I wish to change the format, however I am unable to do this in categories.html, I have checked the template.pl file and cannot find it.

Thanks

Dc
Smile
Quote Reply
Re: title_linked In reply to
You can change title_linked in sub build_linked_title (nph-build.cgi).

Hope this is what you're looking for Smile
Quote Reply
Re: title_linked In reply to
Did the job, thanks very much

Dc
Smile
Quote Reply
Re: [Ant] title_linked In reply to
In Reply To:
You can change title_linked in sub build_linked_title (nph-build.cgi).

Hope this is what you're looking for Smile



Found this thread by searching the forum to try and work out how I can change the : character in the <%title_linked%>

I have opened nph-build.cgi and cannot find build_linked_title anywhere. We are on version 2.1.2.

I want the breadcrumb trail to use the > convention > like this.

Can anyone help track down the sub build_linked_title ??
Quote Reply
Re: [sturogers] title_linked In reply to
Look again, it's the third sub up from the bottom:

sub build_linked_title {
# --------------------------------------------------------
# Returns a string of the current category broken up
# by section, with each part linked to the respective section.
my $input = shift;
my (@dirs, $dir, $output, $path, $last);
@dirs = split (/\//, $input);
$last = &build_clean(pop @dirs);

$output = qq| <A HREF="$build_root_url/">Top</A> :|;
foreach $dir (@dirs) {
$path .= "/$dir";
$dir = &build_clean ($dir);
$output .= qq| <A HREF="$build_root_url$path/">$dir</A> :|;
}
$output .= " $last";

return $output;
}


What you want to change is the two : shown above.


Leonard
aka PerlFlunkie