Search the Community
Showing results for tags 'get variable'.
-
How can I override the url method to add an extra get parameter to each address? Ex: About page url /about/ like this /about/?param=2
- 4 replies
-
- get variable
- url overrride
-
(and 2 more)
Tagged with:
-
Hi, I'll try to explain my problem below: I have an URL like: http://mysite.com/maps/ This URL can have mulitiple get variables like: http://mysite.com/maps/?region=1243 and http://mysite.com/maps/?sort=title Problem is that these can be combined, but this will of course not work when I create a hyperlinks like this: <a href="?region=1243">Region</a> or <a href="?sort=title">Sort by title</a>. How can I work around this, so that, when I am on http://mysite.com/maps/?region=1243, I still can click on the sort link in order to get: http://mysite.com/maps/?region=1243&sort=title I know the above is written in a confusing way, but I hope you understand. //Jasper