Home : Products : Gossamer Links : Discussions :

Products: Gossamer Links: Discussions: Re: [sangiro] Switching Templates: Edit Log

Here is the list of edits for this post
Re: [sangiro] Switching Templates
There is possibly better solution, but I'm just arrived home from a Saturday party Wink hiccup Angelic

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:
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,

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...

Last edited by:

webmaster33: Apr 5, 2003, 7:15 PM

Edit Log: