Or this should work, also: $paginator->options(array('url' => am(array('#' => 'album-image-gallery'), $this->passedArgs)));
On Fri, Mar 20, 2009 at 12:17 PM, Flipflops <johnsv...@googlemail.com> wrote: > > I've been stumped on the same problem, in an instance where I'm using > $this->passedArgs > > But reading this I just has a brainwave - I just added on another item > to the end of the array - seems to work fine. > > $this->passedArgs['#'] = 'album-image-gallery'; > > $paginator->options(array('url' => $this->passedArgs)); > > Cheers > > > > On Mar 20, 3:32 pm, brian <bally.z...@gmail.com> wrote: >> I'm not sure about using it with pagination but Cake's link arrays >> accept a key, '#' for a hash. >> >> On Thu, Mar 19, 2009 at 7:43 PM, Waylon <hiway...@gmail.com> wrote: >> >> > Has anybody figured out how to make the PaginationHelper output a link >> > that has a '#anchor_name' at the end of it. >> >> > For example, by default you get something like: >> >http://www.example.com/controller/action/page:3 >> >> > What I'm looking for is: >> >http://www.example.com/controller/action/page:3#anchor_name >> >> > Thanks! >> >> > w > > > --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---