Hi,
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:
http://www.site.com/prg?var1=val1&var2=val2
The base for this URI is:
http://www.site.com/en/
(Because I overwritten prepare_path as in the example given on the Cat wiki)
and the URL that should be printed with the new language is:
http://www.site.com/ro/prg?var1=val1&var2=val2
So I've got the base in the template, replaced '/../$' with 'ro' and then I
need to add the path but also the query_string.
Thanks.
Octavian
_______________________________________________
List: [email protected]
Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst
Searchable archive: http://www.mail-archive.com/[email protected]/
Dev site: http://dev.catalyst.perl.org/