Grokbase Groups PHP cake-php May 2012
FAQ
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+unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php

Search Discussions

  • Marcus James at May 9, 2012 at 9:07 am
    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+unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php
  • Hoss7 at May 9, 2012 at 9:20 am
    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+unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php
  • Marcus James at May 9, 2012 at 9:37 am
    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+unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php
  • Hoss7 at May 9, 2012 at 9:41 am
    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+unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php

Related Discussions

Discussion Navigation
viewthread | post
Discussion Overview
groupcake-php @
categoriesphp
postedMay 9, '12 at 8:57a
activeMay 9, '12 at 9:41a
posts5
users2
websitecakephp.org
irc#cakephp

2 users in discussion

Hoss7: 3 posts Marcus James: 2 posts

People

Translate

site design / logo © 2022 Grokbase