@Brian
Thanks for the tip. I'll try that out - its much neater.
On Mar 20, 4:50 pm, brian wrote:
> 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 wrote:
>
> > I've
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 wrote:
>
> I've been stumped on the same problem, in an instance where I'm using
> $this->passedArgs
>
> But reading this I jus
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->
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 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
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