There is possibly better solution, but I'm just arrived home from a Saturday party hiccup
We assume, you are on a category page, where the 'g' parameter was filled automatically in URL.
So with following global (named category_input) you can get value of 'g' parameter:
return $IN->param('g');
}
And in template use this:
<A HREF="<%db_cgi_url%>/page.cgi?g=<%category_input%>&t=title_only">
If I would do a <%GT::Template::dump%>, I'm sure I would quickly give you a better solution.
Try <%GT::Template::dump%>, you may get the idea.
Best regards,
Webmaster33
Paid Support from Webmaster33. Expert in Perl programming & Gossamer Threads applications. (click here for prices)
Webmaster33's products (upd.2004.09.26) | Private message | Contact me | Was my post helpful? Donate my help...
We assume, you are on a category page, where the 'g' parameter was filled automatically in URL.
So with following global (named category_input) you can get value of 'g' parameter:
Code:
sub { return $IN->param('g');
}
And in template use this:
<A HREF="<%db_cgi_url%>/page.cgi?g=<%category_input%>&t=title_only">
If I would do a <%GT::Template::dump%>, I'm sure I would quickly give you a better solution.
Try <%GT::Template::dump%>, you may get the idea.
Best regards,
Webmaster33
Paid Support from Webmaster33. Expert in Perl programming & Gossamer Threads applications. (click here for prices)
Webmaster33's products (upd.2004.09.26) | Private message | Contact me | Was my post helpful? Donate my help...