Made the following changes to the paginator.php:
instead of:
return $this->link($title, $url, array_merge($options, array('escape'
=> $escape)));
I wrote:
$outurl = '';
foreach($url as $key => $val) {
$outurl .= $key.':'.$val;
}
return ''.$title.'';
Not sure if this will extend well bu
So the best idea would be to alter the Paginator class to suit my
needs? Any ideas on which vars to alter?
On Dec 17, 1:35 pm, mwcbrent wrote:
> Sorry! The actual route code is:
>
> Router::connect('/:slug/pages/*',array
> ('controller'=>'pages','action'=>'index'));
>
> On Dec 17, 1:30 pm, mwc
Sorry! The actual route code is:
Router::connect('/:slug/pages/*',array
('controller'=>'pages','action'=>'index'));
On Dec 17, 1:30 pm, mwcbrent wrote:
> I've found a handful of posts about this but no solutions that fit my
> problem.
>
> In my routes.php I have:
>
> Router::connect('/:slug/pa
Sorry my actual Route looks like:
Router::connect('/:slug/pages/*',array
('controller'=>'scenes','action'=>'index'));
On Dec 17, 1:30 pm, mwcbrent wrote:
> I've found a handful of posts about this but no solutions that fit my
> problem.
>
> In my routes.php I have:
>
> Router::connect('/:slug/p
I've found a handful of posts about this but no solutions that fit my
problem.
In my routes.php I have:
Router::connect('/:slug/pages/index', array('controller' => 'pages',
'action' => 'index'));
But when I use the Paginator it only gives me:
/pages/index:page2
I'd like to get:
/myslug/index