Gossamer Forum
Home : Products : Gossamer Links : Discussions :

<%title_linked%> Version 2.1

Quote Reply
<%title_linked%> Version 2.1
I just upgraded to 2.1 and have used <%title_linked%> in my templates. On categories with more than 1 links page I am now getting 'LINKS_PAGE' at the end of the categories.

example: Links: Automotive: New Cars: Page 2

is now: Links: Automotive: New Cars: LINKS_PAGE

Thanks,

Clueless





Regards,
Clueless

Quote Reply
Re: [Clueless] <%title_linked%> Version 2.1 In reply to
I have the same problem.

Does any person know the solution?

Thanks in advance,

Last edited by:

JoseML: Jul 7, 2002, 12:00 PM
Quote Reply
Re: [JoseML] <%title_linked%> Version 2.1 In reply to
I just saw that problem on my site too...

I do not know how I missed it..

did anyone resolve this issue..

Iwent through several sites that use Links SQL any most of them have the same problem..
Regards
KaTaBd

Users plug In - Multi Search And Remote Search plug in - WebRing plug in - Muslims Directory
Quote Reply
Re: [katabd] <%title_linked%> Version 2.1 In reply to
I am using 2.1.1 - everything is OK!
Quote Reply
Re: [Payooo] <%title_linked%> Version 2.1 In reply to
I am using 2.1.1 and it is not ..

I checked build.pm and everything seems ok in the title_linked sub..

Anyone have this problem?

GT Staff please some help here it seems not to be one user problem..
Regards
KaTaBd

Users plug In - Multi Search And Remote Search plug in - WebRing plug in - Muslims Directory
Quote Reply
Re: [Clueless] <%title_linked%> Version 2.1 In reply to
Go to "Build -> User Language" in your admin area, and check if there is an entry LINKS_PAGE. If not, create one, and set it to 'Page %s'

Ivan
-----
Iyengar Yoga Resources / GT Plugins
Quote Reply
Re: [Clueless] <%title_linked%> Version 2.1 In reply to
Hey, I've been having the same problem as well! Crazy

I thought it was a problem with my templates that was my fault. I get the same LINKS_PAGE after the categories with more thatn one linls page.

Looking foward to some kind of solution...

Ryan
Quote Reply
Re: [Jonze] <%title_linked%> Version 2.1 In reply to
You have probably just missed my post.... Wink

Ivan
-----
Iyengar Yoga Resources / GT Plugins
Quote Reply
Re: [yogi] <%title_linked%> Version 2.1 In reply to
yUP, I had just missed ya. Thanks Ivan!

I must say that was one easy fix. I've pulled my hair out trying to get rid of that tag.

Thanks again,

Ryan
Quote Reply
Re: [yogi] <%title_linked%> Version 2.1 In reply to
Thank Ivan

I did not pull my hair yet, but I was so close.. Tongue
Regards
KaTaBd

Users plug In - Multi Search And Remote Search plug in - WebRing plug in - Muslims Directory
Quote Reply
Re: [katabd] <%title_linked%> Version 2.1 In reply to
I made a new global....

this was one of the reasons for detail_page.cgi, but that only went so far.

Code:


sub {
# ------------------------------------------------------------------
# Generate a linked title.
#
# call with <%linked_title ($LinkID, $Title, ':', 0, 0)%>
# where the first two parameters are required, and you can
# add parameters 3, 4 and 5 in order
#
my $id = $_[0];
my $input = $_[1];
my $separator = $_[2] || ':';
my $home = $_[3] || 0;
my $complete = $_[4] || 0;

my (@dirs, $dir, $output, $path, $last, $db, $top);

$db = $DB->table('Category');
$top = Links::language('LINKS_TOP') || 'Top';

my ($cat_id, $cat_name) = %{$DB->table('Links')->get_categories ($_[0])};
$input = "$cat_name/$_[1]";


@dirs = split (/\//, $input);
$last = pop @dirs unless ($complete);
$output = $home ? qq| <a href="$CFG->{build_root_url}/$CFG->{build_index}">$top</a> $separator| : '';
for (0 .. $#dirs) {
$path = "/" . $db->as_url ( join "/", @dirs[0 .. $_] );
$output .= qq| <a href="$CFG->{build_root_url}$path/$CFG->{build_index}">$dirs[$_]</a> $separator|;
}
if ($complete) {
chop $output; chop $output;
}
else {
$output .= " $last";
}
return $output;
}


PUGDOG´┐Ż Enterprises, Inc.

The best way to contact me is to NOT use Email.
Please leave a PM here.