Gossamer Forum
Home : Products : Gossamer Links : Discussions :

Re: [Andy] Get the current URL

Quote Reply
Re: [Andy] Get the current URL In reply to
Hi Andy,

I am developing a category pages that are static but can be expanded dynamically.

The URL of the category page is:

http://www.mysite.com/Category/Subcategory/index.html

And then inside there is a hyperlink that allows expanding the page, showing the hidden part, if the visitor clicks on:

<a href="/cgi-bin/page.cgi?g=Category/subcategory/index.html;advanced=1">[Click here]</a>

For the template, I need something like this:

<a href="/cgi-bin/page.cgi?g=<%g%>;advanced=1">[Click here]</a>


<% g%> works fine if the category page is dynamic but not if it is static.

Do you understand it?

Cheers ,

JoseML
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 7639 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