In jump.cgi, try copying the file (example jump2.cgi), and change;
(/^$id$delim(.+)/o) or next;
chomp ($goto = $1);
last;
}
to something like;
my @cut= split /$delim/, $_;
$goto = $cut[1];
last;
}
Change $cut[1] to whatever field the different URL is held in. For example, if your database looked like;
ID|URL|Title|Test|URL2|URL3
...you would use something like $cut[4] or $cut[5].
This mod is untested, and I havn't used Links 2 for a good few months, so I'm pretty rusty on it. May, or may not work
Cheers
Andy (mod)
andy@ultranerds.co.uk
Want to give me something back for my help? Please see my Amazon Wish List
GLinks ULTRA Package | GLinks ULTRA Package PRO
Links SQL Plugins | Website Design and SEO | UltraNerds | ULTRAGLobals Plugin | Pre-Made Template Sets | FREE GLinks Plugins!
Code:
while (<URL>) { (/^$id$delim(.+)/o) or next;
chomp ($goto = $1);
last;
}
to something like;
Code:
while (<URL>) { my @cut= split /$delim/, $_;
$goto = $cut[1];
last;
}
Change $cut[1] to whatever field the different URL is held in. For example, if your database looked like;
ID|URL|Title|Test|URL2|URL3
...you would use something like $cut[4] or $cut[5].
This mod is untested, and I havn't used Links 2 for a good few months, so I'm pretty rusty on it. May, or may not work
Cheers
Andy (mod)
andy@ultranerds.co.uk
Want to give me something back for my help? Please see my Amazon Wish List
GLinks ULTRA Package | GLinks ULTRA Package PRO
Links SQL Plugins | Website Design and SEO | UltraNerds | ULTRAGLobals Plugin | Pre-Made Template Sets | FREE GLinks Plugins!