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 6431 Apr 5, 2004, 5:19 PM
Thread Re: [afinlr] Current URL
Andy 6366 Apr 6, 2004, 12:15 AM
Thread Re: [Andy] Current URL
afinlr 6279 Apr 6, 2004, 4:14 AM
Thread Re: [afinlr] Current URL
KevM 6283 Apr 6, 2004, 6:59 AM
Thread Re: [KevM] Current URL
afinlr 6260 Apr 6, 2004, 7:48 AM
Thread Re: [afinlr] Current URL
KevM 6269 Apr 6, 2004, 8:21 AM
Post Re: [KevM] Current URL
afinlr 6257 Apr 6, 2004, 8:24 AM
Thread Re: [KevM] Current URL
afinlr 6269 Apr 6, 2004, 8:28 AM
Thread Re: [afinlr] Current URL
KevM 6244 Apr 6, 2004, 8:35 AM
Post Re: [KevM] Current URL
afinlr 6259 Apr 6, 2004, 8:58 AM
Thread Re: [afinlr] Current URL
pugdog 6232 Apr 6, 2004, 10:32 AM
Thread Re: [pugdog] Current URL
afinlr 6246 Apr 6, 2004, 12:09 PM
Thread Re: [afinlr] Current URL
pugdog 6209 Apr 6, 2004, 3:35 PM
Thread Re: [pugdog] Current URL
afinlr 6217 Apr 6, 2004, 3:39 PM
Thread Re: [afinlr] Current URL
pugdog 6199 Apr 7, 2004, 3:19 PM
Thread Re: [pugdog] Current URL
afinlr 6200 Apr 7, 2004, 3:35 PM
Thread Re: [afinlr] Current URL
mick31 6084 Dec 23, 2004, 6:22 AM
Post Re: [mick31] Current URL
afinlr 6066 Dec 24, 2004, 9:10 AM