Hi there!
Im trying to make a returnlink wich also sends some params back... But that just doesn't work...
$this->smarty->assign('back_href', $this->CreateReturnLink($id, $returnid, '', array('categoryid'=>$categoryid), true));
this creates a link that looks like this:
index.php?page=bulletins&cntnt01categoryid=49
but when i print the $params array it doesnt show the categoryid... Does anybody know why?
Thanks in advance!
CreateReturnLink & $params array
Re: CreateReturnLink & $params array
I hate to bump this but I really need a solution. Maybe someone has another idea how to create a link to go back to a previous page using the right parameters? Im currently working on a search function for my module. And when you visit a search result I want to be able to go back to the search results. So I need the right parameters to go back to the right search results (mainly the search keywords...) Anybody any idea? I could use Sessions but that doesnt seem like a very clean idea...
Thanks
Thanks
Re: CreateReturnLink & $params array
Here's what I use for something similar...(be sure $searchedFor is an array)
$this->smarty->assign('displayResults', $this->CreateFrontendLink($id,$returnid,'doSearch','Return Text',$searchedFor));
$this->smarty->assign('displayResults', $this->CreateFrontendLink($id,$returnid,'doSearch','Return Text',$searchedFor));
Re: CreateReturnLink & $params array
I guess that's a link for sending parameters to the next page so you can use those parameters to create a returnlink... I already have the right parameters in my back where I want to create a ReturnLink. The problem is that the page where the link returns to doesnt "read" those parameters...