Hi,
I've seen a couple of posts and articles how to change the url and
params in the paginator helper. They work if you have an out-of-the-
box router setup with the standard controller, actions, etc.
But I've tested some things with the static 'url' option and that
seems not working.
app/views/artists/list.ctp
$paginator->options['url'] = '/en/artists/list/D';
echo $paginator->prev('<< '._t('previous'), $paginator-
>options['url'], null, array('class'=>'disabled')).' | '.
$paginator->numbers().' ';
echo $paginator->next(_t('next').' >>', $paginator->options['url'],
null, array('class'=>'disabled'));
None of the links now will get the url I provided. They all do it
based on which controller I'm in and the action I did. Which is
different, because I make extensive use of the Router functionality.
Has someone tried this static (maybe dynamic) url settings in
paginator before?
Thnx!
- Charlie
p.s. I use the latest svn checkout from branches/1.2.x.x
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---