Re: Help w/ Pagination
Ah ... the stuck between common sense and client sense issue. In short I do not know the answer to this, you would really have to force cake to allow it to do this and it would probably be more work than it's worth to achieve something that at the end of the day has multiple negative effects on the site. If the client refuses to see sense then Cake may not be the way forward for them. Have you asked the client why they want it this way and explained the benefits of Cake's named parameters? The main benefit as I see it, over and above how ugly it is to have ? = & in your URLs, is that their statistics will show real individual pages rather than cut off before the ? That information is worthless on any site that wants to measure its performance. HTH Paul. Check out the new CakePHP Questions site http://cakeqs.org and help others with their CakePHP related questions. You received this message because you are subscribed to the Google Groups "CakePHP" group. To post to this group, send email to cake-php@googlegroups.com 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?hl=en
Re: Help w/ Pagination
My client wants it that way. Not my choice but they're paying the bill. Any ideas how I can do this? On Mar 4, 1:36 am, Walther wrote: > Why do you want to use those dog ugly query parameters? They are bad > for users and bad for SEO. Rather use the CakePHP named parameters > (Which the build in pagination does automatically). > > If you need some help in getting the 'search' term to stay persistent > in your pagination come ask on the irc channel (freenode.net #cakephp) > > On Mar 3, 9:04 pm, Kyle Decot wrote: > > > > > I need my page: parameter to appear in my url like /model/index/? > > page=2&search=something How can I get all my parameters to appear in > > my paging links? Thanks. Check out the new CakePHP Questions site http://cakeqs.org and help others with their CakePHP related questions. You received this message because you are subscribed to the Google Groups "CakePHP" group. To post to this group, send email to cake-php@googlegroups.com 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?hl=en
Re: Help w/ Pagination
Why do you want to use those dog ugly query parameters? They are bad for users and bad for SEO. Rather use the CakePHP named parameters (Which the build in pagination does automatically). If you need some help in getting the 'search' term to stay persistent in your pagination come ask on the irc channel (freenode.net #cakephp) On Mar 3, 9:04 pm, Kyle Decot wrote: > I need my page: parameter to appear in my url like /model/index/? > page=2&search=something How can I get all my parameters to appear in > my paging links? Thanks. Check out the new CakePHP Questions site http://cakeqs.org and help others with their CakePHP related questions. You received this message because you are subscribed to the Google Groups "CakePHP" group. To post to this group, send email to cake-php@googlegroups.com 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?hl=en
Help w/ Pagination
I need my page: parameter to appear in my url like /model/index/? page=2&search=something How can I get all my parameters to appear in my paging links? Thanks. Check out the new CakePHP Questions site http://cakeqs.org and help others with their CakePHP related questions. You received this message because you are subscribed to the Google Groups "CakePHP" group. To post to this group, send email to cake-php@googlegroups.com 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?hl=en
newb help w/ pagination
Okay, so I'm working on creating a website where one of the things people can do is add their birthdays, each day of the year is listed, and peoples birthdays are listed inside of the views for the days as "related birthdays" with standard bake format. Been trying forever to figure out what I need to do to get only the birthdays to show that I've approved though. This is the latest attempt of mine... which seems like it should work? but obviously does not... or else I wouldn't be on here now. Thanks in advance for any help you guys can offer! This group has been a great help to me in the past. array('limit'=>31), 'Birthday' => array ('conditions' => array('Birthday.approve' => 1))); function index() { $this->Day->recursive = 0; $this->set('days', $this->paginate('Day')); } function view($id = null) { if (!$id) { $this->Session->setFlash(__('Invalid Day.', true)); $this->redirect(array('action'=>'index')); } $this->set('day', $this->Day->read(null, $id), $this->paginate ('Birthday')); } } ?> --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "CakePHP" group. To post to this group, send email to cake-php@googlegroups.com 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?hl=en -~--~~~~--~~--~--~---