Have You Found solution for this ??? I am also looking for this... On Monday, November 1, 2010 8:53:36 AM UTC+5:30, DANNY wrote: > > Hi All: > I look the tutorial that Pagination for custom queries > (http://bakery.cakephp.org/articles/shird10/2010/08/29/pagination-for- > custom-queries<http://bakery.cakephp.org/articles/shird10/2010/08/29/pagination-for-custom-queries>) > > > > I can search the data by use URL (example.com/forums/viewtopic/x/y/ > page:2 <http://example.com/forums/viewtopic/x/y/page:2>) > But I want to use Form(method is GET) to generate the url > > <!-- ------search------ --> > <?php echo $this->Form- > >create('Order',array('action'=>'index','type'=>'get'));?> > <?php echo $this->Form->input('x'); ?> > <?php echo $this->Form->input('y'); ?> > <?php echo $this->Form->end(__('submit', true));?> > <!-- ------search------ --> > > I press the summit button , I get the url is : > example.com/forums/viewtopic?x=AAAAAAA&y=BBBBBB > > not example.com/forums/viewtopic/x/y/page:2 > How to create the above Url by Form and method is GET > > thanks > >
-- Like Us on FaceBook https://www.facebook.com/CakePHP Find us on Twitter http://twitter.com/CakePHP --- You received this message because you are subscribed to the Google Groups "CakePHP" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/cake-php. For more options, visit https://groups.google.com/groups/opt_out.
