I have a search form for Blog with pagination. The form is like below.

<form name="BlogSearchForm" onSubmit="javascript:return check();"
id="BlogSearchForm" method="post" action="/blogs/search">
<fieldset style="display:none;">
<input type="hidden" name="_method" value="POST" />
</fieldset>
<input type="text" name="data[Blog][keywords]" value="" class="input"
id="keywords" />
<input type="text" name="data[Blog][category]" value="" class="input"
id="category" />
<input name="button" type="submit" class="button" id="button"
value="Search" />
</form>

I want to set so that the url after hitting search button, it should
come with all the params. I mean it should: "http://
videon.smallbizmavericks.com/blogs/search/keywords:test1/
category:test2", so that in pagination I can use the in pagination
link like below:

$paginator->options(array('url' => $this->passedArgs));

If it is not possible, how to pass this arguments to paginator for
first time?
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"CakePHP" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to