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

Re: [Payooo] Change 'more' in URL

Quote Reply
Re: [Payooo] Change 'more' in URL In reply to
You could just pass it through a global...

<%replace_next($next_span)%>

Code:
sub {
my $in = $_[0];
$in =~ s|next(\d)|newpage$1|sg;
return $in;
}

My regex isn't the best when it comes to pattern matching, but it should 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!
Subject Author Views Date
Thread Change 'more' in URL Payooo 2182 Apr 9, 2004, 10:18 AM
Thread Re: [Payooo] Change 'more' in URL
Andy 2103 Apr 10, 2004, 1:04 AM
Thread Re: [Andy] Change 'more' in URL
Payooo 2093 Apr 10, 2004, 2:31 AM
Post Re: [Payooo] Change 'more' in URL
Andy 2094 Apr 10, 2004, 2:34 AM