[Solar-talk] pager helper
Rodrigo Moraes
rodrigo.moraes at gmail.com
Thu Jan 11 04:19:47 PST 2007
On 1/11/07, Jeff Surgeson wrote:
> Cheers works for changing decorator config but still does not change adapter
> config. How do I pass the user config to the jumping adapter?
I've tested your example and it seems to be working as it is
(sidenote: you can also split the display configuration to its own
array; it only needed on fetch()). Have you added the locale
definitions to your locale files?
Another note. Because the pager query string is "translatable", you
need to set the page in your app as:
$this->page = $this->_request->get($this->locale('PAGER_PAGE_QUERY'), 1);
And another one: I've noticed now that the 'first_pages' config in the
Jumping adapter is not implemented (it is not used anywhere), but the
'last_pages' is ok. I'll implement the 'first_pages' when I work on
the helper again.
If you still have problems, please post the HTML resulted from your example.
rodrigo
More information about the solar-talk
mailing list