Hello everyone!
i am new to cakephp, i have an issue in pagination urls, First page link is
not correct other page urls are perfect. Please help. First page url is
links to the current page url. its really awesome.
https://www.savnpik.com/abu-dhabi-deals/autos/3 check here
--
Like Us on Face
Well... making progress but still not there.
Right now I've got:
Router::connect(
'/*',
array(
'controller' => 'nodes',
'action' => 'view',
),
array('*' => '(!users|products)')
This half works - the pagination is fixed and somethi
It's also quite possible I'm wrong ;-)
On Tue, May 5, 2009 at 11:29 AM, Flipflops wrote:
>
> Hi Brian
>
> Thanks, I'll give that a shot, it has been working fine until I came
> across this instance - but that line of code in routes has been
> carried around for a while so I've probably been rely
Hi Brian
Thanks, I'll give that a shot, it has been working fine until I came
across this instance - but that line of code in routes has been
carried around for a while so I've probably been relying on something
that has been depreciated or where the API has changed... or maybe it
should just nev
You have the regexp in the wrong place. Try something like this:
Router::connect(
'/:whatever/*'
array(
'controller' => 'nodes',
'action' => 'view'
),
array(
'whatever' => '(?!admin|pages|users|photos)'
)
);
Sorry forgot to say would be something like:
$this->passedArgs = array(
[0] => seascapes
[1] => summer-seascapes
);
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"CakePHP" group.
To post to this group, sen
Hi
I'm trying to paginate a set of results but Cake isn't building the
links properly, instead of the correct link the pagination helper is
generating links that just output part of my routes config.
The pagination is working fine in some parts of my application so
something like this is working