pass some key in Pagination links

2012-05-09 Thread hoss7

i want pass some value in Pagination links

like this:

http://localhost/142tel/tels/search/page:2/name/miki
or
http://localhost/142tel/tels/search/name/miki/page:2

how can i edit *Defualt*  Pagination links

-- 
Our newest site for the community: CakePHP Video Tutorials 
http://tv.cakephp.org 
Check out the new CakePHP Questions site http://ask.cakephp.org and help others 
with their CakePHP related questions.


To unsubscribe from this group, send email to
cake-php+unsubscr...@googlegroups.com For more options, visit this group at 
http://groups.google.com/group/cake-php


Re: pass some key in Pagination links

2012-05-09 Thread Marcus James
Hi,

In your views you can use it like this

 echo  $this-Paginator-options(array('url' = $var1.'/'.$var2));

echo $this-Paginator-numbers();

where $var1 and $var2 are the two variable that we want to send.




Enjoy Marcus

-- 
Our newest site for the community: CakePHP Video Tutorials 
http://tv.cakephp.org 
Check out the new CakePHP Questions site http://ask.cakephp.org and help others 
with their CakePHP related questions.


To unsubscribe from this group, send email to
cake-php+unsubscr...@googlegroups.com For more options, visit this group at 
http://groups.google.com/group/cake-php


Re: pass some key in Pagination links

2012-05-09 Thread hoss7
thanks, but i want send this values to some actions.

On Wednesday, May 9, 2012 12:27:39 PM UTC+3:30, hoss7 wrote:


 i want pass some value in Pagination links

 like this:

 http://localhost/142tel/tels/search/page:2/name/miki
 or
 http://localhost/142tel/tels/search/name/miki/page:2

 how can i edit *Defualt*  Pagination links

-- 
Our newest site for the community: CakePHP Video Tutorials 
http://tv.cakephp.org 
Check out the new CakePHP Questions site http://ask.cakephp.org and help others 
with their CakePHP related questions.


To unsubscribe from this group, send email to
cake-php+unsubscr...@googlegroups.com For more options, visit this group at 
http://groups.google.com/group/cake-php


Re: pass some key in Pagination links

2012-05-09 Thread Marcus James
is your view and the page where you want your link to point are different?

-- 
Our newest site for the community: CakePHP Video Tutorials 
http://tv.cakephp.org 
Check out the new CakePHP Questions site http://ask.cakephp.org and help others 
with their CakePHP related questions.


To unsubscribe from this group, send email to
cake-php+unsubscr...@googlegroups.com For more options, visit this group at 
http://groups.google.com/group/cake-php


Re: pass some key in Pagination links

2012-05-09 Thread hoss7
no my action is search

On Wednesday, May 9, 2012 12:27:39 PM UTC+3:30, hoss7 wrote:


 i want pass some value in Pagination links

 like this:

 http://localhost/142tel/tels/search/page:2/name/miki
 or
 http://localhost/142tel/tels/search/name/miki/page:2

 how can i edit *Defualt*  Pagination links

-- 
Our newest site for the community: CakePHP Video Tutorials 
http://tv.cakephp.org 
Check out the new CakePHP Questions site http://ask.cakephp.org and help others 
with their CakePHP related questions.


To unsubscribe from this group, send email to
cake-php+unsubscr...@googlegroups.com For more options, visit this group at 
http://groups.google.com/group/cake-php