Home : Products : Gossamer Links : Development, Plugins and Globals :

Products: Gossamer Links: Development, Plugins and Globals: Re: [yogi] How to add number in front of links on LinkSQL 2.1.2?: Edit Log

Here is the list of edits for this post
Re: [yogi] How to add number in front of links on LinkSQL 2.1.2?
heres the codes on my global

sub {
my $nh = shift;
my $mh = shift;
return {search_offset => 0 } unless $nh =~ /^\d+$/;
$mh ||= $CFG->{search_maxhits};
return { search_offset => ($nh - 1) * $mh };
}

P.s. i just did the copy and past from your post to my global file.

Sorry to ask that stupid guestion,but on my templates directory theres a globals.txt file do i have to add that code there or create a new global.txt on the templates directory?

again sorry for the guestion,but im seriously a total newbie on this.

Thanks again.

Last edited by:

Doc_: Feb 4, 2003, 10:58 AM

Edit Log: