Gossamer Forum
Home : Products : Gossamer Links : Discussions :

Current URL

Quote Reply
Current URL
Is there a way to get the current url of a page so it can be used in a tag? I know that you can use javascript using location.href but I assume that this can't be used in a template tag. I also know that on dynamic pages I could use a global and build the URL using environmental variables. However, I would like to get the displayed url - not the rewritten one, the static one on a static site and not the one that is built from during the build process.

Is this possible?
Subject Author Views Date
Thread Current URL afinlr 6335 Apr 5, 2004, 5:19 PM
Thread Re: [afinlr] Current URL
Andy 6271 Apr 6, 2004, 12:15 AM
Thread Re: [Andy] Current URL
afinlr 6184 Apr 6, 2004, 4:14 AM
Thread Re: [afinlr] Current URL
KevM 6188 Apr 6, 2004, 6:59 AM
Thread Re: [KevM] Current URL
afinlr 6165 Apr 6, 2004, 7:48 AM
Thread Re: [afinlr] Current URL
KevM 6174 Apr 6, 2004, 8:21 AM
Post Re: [KevM] Current URL
afinlr 6161 Apr 6, 2004, 8:24 AM
Thread Re: [KevM] Current URL
afinlr 6174 Apr 6, 2004, 8:28 AM
Thread Re: [afinlr] Current URL
KevM 6149 Apr 6, 2004, 8:35 AM
Post Re: [KevM] Current URL
afinlr 6163 Apr 6, 2004, 8:58 AM
Thread Re: [afinlr] Current URL
pugdog 6137 Apr 6, 2004, 10:32 AM
Thread Re: [pugdog] Current URL
afinlr 6151 Apr 6, 2004, 12:09 PM
Thread Re: [afinlr] Current URL
pugdog 6114 Apr 6, 2004, 3:35 PM
Thread Re: [pugdog] Current URL
afinlr 6122 Apr 6, 2004, 3:39 PM
Thread Re: [afinlr] Current URL
pugdog 6104 Apr 7, 2004, 3:19 PM
Thread Re: [pugdog] Current URL
afinlr 6105 Apr 7, 2004, 3:35 PM
Thread Re: [afinlr] Current URL
mick31 5989 Dec 23, 2004, 6:22 AM
Post Re: [mick31] Current URL
afinlr 5971 Dec 24, 2004, 9:10 AM