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 7841 Jan 5, 2011, 2:20 AM
Thread Re: [JoseML] Get the current URL
Andy 7768 Jan 5, 2011, 3:45 AM
Thread Re: [Andy] Get the current URL
JoseML 7693 Jan 5, 2011, 3:38 PM
Thread Re: [JoseML] Get the current URL
Andy 7689 Jan 6, 2011, 12:32 AM
Thread Re: [Andy] Get the current URL
JoseML 7722 Jan 6, 2011, 3:39 AM
Thread Re: [JoseML] Get the current URL
Andy 7721 Jan 6, 2011, 5:06 AM
Thread Re: [Andy] Get the current URL
JoseML 7688 Jan 6, 2011, 4:31 PM
Thread Re: [JoseML] Get the current URL
Andy 7694 Jan 7, 2011, 12:44 AM
Thread Re: [Andy] Get the current URL
JoseML 7651 Jan 7, 2011, 3:17 AM
Thread Re: [JoseML] Get the current URL
Andy 7653 Jan 7, 2011, 4:21 AM
Post Re: [Andy] Get the current URL
JoseML 7618 Jan 7, 2011, 7:40 AM