Gossamer Forum
Home : Products : Gossamer Links : Discussions :

Re: [JoseML] Get the current URL

Quote Reply
Re: [JoseML] Get the current URL In reply to
Totally untested, but try:

make_category_url
Code:
sub {
if ($_[1] > 1) {
return $DB->table('Category')->as_url( $_[0] ) . "/more$_[1]";
} else {
return $DB->table('Category')->as_url( $_[0] ) . "/" . $CFG->{build_index};
}

}

Code:
<%if g%><%g%><%else%><%make_category_url($Full_Name,$paging.current_page)%><%endif%>

Untested, but should do the trick

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!

Last edited by:

Andy: Jan 7, 2011, 4:20 AM
Subject Author Views Date
Thread Get the current URL JoseML 7786 Jan 5, 2011, 2:20 AM
Thread Re: [JoseML] Get the current URL
Andy 7714 Jan 5, 2011, 3:45 AM
Thread Re: [Andy] Get the current URL
JoseML 7640 Jan 5, 2011, 3:38 PM
Thread Re: [JoseML] Get the current URL
Andy 7636 Jan 6, 2011, 12:32 AM
Thread Re: [Andy] Get the current URL
JoseML 7668 Jan 6, 2011, 3:39 AM
Thread Re: [JoseML] Get the current URL
Andy 7668 Jan 6, 2011, 5:06 AM
Thread Re: [Andy] Get the current URL
JoseML 7635 Jan 6, 2011, 4:31 PM
Thread Re: [JoseML] Get the current URL
Andy 7640 Jan 7, 2011, 12:44 AM
Thread Re: [Andy] Get the current URL
JoseML 7598 Jan 7, 2011, 3:17 AM
Thread Re: [JoseML] Get the current URL
Andy 7600 Jan 7, 2011, 4:21 AM
Post Re: [Andy] Get the current URL
JoseML 7565 Jan 7, 2011, 7:40 AM