Totally untested, but try:
make_category_url
if ($_[1] > 1) {
return $DB->table('Category')->as_url( $_[0] ) . "/more$_[1]";
} else {
return $DB->table('Category')->as_url( $_[0] ) . "/" . $CFG->{build_index};
}
}
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!
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!