larryl at emailplus.org
Tue Oct 27 19:49:42 GMT 2009
Hi Octavian -
> Is there a Catalyst Request method for getting the path and the
> query_string? (Everything's after the base).
> I want to use it in a TT template for changing the current language.
> The current URI is something like:
> The base for this URI is:
> (Because I overwritten prepare_path as in the example given on the Cat
> and the URL that should be printed with the new language is:
Not sure if this gets you all the way there, but you could call
"c.req.uri" with no arguments, that should give you the current request
including base, path and query string. Then you could strip off
c.req.base from the beginning of that string.
More information about the Catalyst