Hey there,

For I have use that same pagination helper, I'm almost sure there is
no way to add more param/value pairs to the generated Url.
However I extended it to add a 'filterBy' and it ended up being fairly
simple (minimal coding).

I haven't had the time to have a good look at the new paginator from
1.2, so I can't say if it provides what you are looking for.
Anyone?

I don't mind sending you my code if you want to look into it, however
there is very little new stuff.. mostly duplicating+adating the
current SortBy stuff.

Hope this helps!

Seb.


jyrgen wrote:
> i installed this pagination component:
>
> http://bakery.cakephp.org/articles/view/65
>
> which does a fine job, but i'm not getting further with query
> constraints that i would like to maintain across pages.
>
> i have selectbox with different time intervals constraining
> the data amount being pulled from the db. for example i
> would like to generate pagination html links like this :
>
> "articles/index?page=2&interval=2months"
>
> the helper methods only generate links like this:
>
> "articles/index?page=2"
>
> -- how can i attach further parameters to this link ? --
> &param1=value1&param2=value2
>
>
> there was(is?) a typo in the helper class, line 326:
>
> if ($this->_pageDetails['page']<>$this->_page['pageCount'])
>
> should read
>
> if ($this->_pageDetails['page']<>$this->_pageDetails['pageCount'])
>
>
> thanks a ton
> ( and please don't point me to the new 1.2 version which comes
> with a builtin pagination facility...)
>
> jyrgen


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Cake 
PHP" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to