I have current URL-request: catalog/browse
I need join catalog/browse and my new request, that get route catalog/browse?cat=1
How to get a current address and add to it another option?
I have current URL-request: catalog/browse
I need join catalog/browse and my new request, that get route catalog/browse?cat=1
How to get a current address and add to it another option?
Not sure if this is what you are after, but try the following in your controller: $this->createUrl(‘catalog/browser’,array(‘cat’ => 1’));
and if the request is not known catalog/browse ?
Then just leave it empty.
$this->createUrl(’’, array(‘cat’ => 1))
For details, see documentation.