It worked!!
Adding:
$paginator-
>options(array('url'=>array('controller'=>'controllerName')));
made the $paginator->prev and $paginator->next link correct and the
pagination now works like a charm.
Thank you for your patience and incredible help!
sickrandir
On Apr 13, 6:55 pm, "gwoo" <[EMAIL PR
when in doubt, you can always pass the controller.
try setting $paginator-
>options(array('url'=>array('controller'=>'controllerName'))):
There was a ticket on this before and I tested it. Try to search
https://trac.cakephp.org and see if the previously reported problem is
similar to yours.
--
Your article on the bakery is great. The only thing I miss is
controlling the pagination through the paginator helper. Is there any
way to use the functions $paginator->prev and $paginator->next with
the requestAction approach?
I tried but the links generated alway refers to the controller
associa
Hi sickrandir
You question prompted me to post an article on the bakery on creating
reusable elements.
Have a look. http://bakery.cakephp.org/articles/view/342
Hope it helps.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Googl
ok, I pasted here the relevant code:
http://bin.cakephp.org/view/1405839666
Each pagination works if used alone.
I have one layout for the post controller that has echo
$content_for_layout in the right column while in the left column I put
requestAction ("/tagposts/
index",array("return"=>true)
you need to show some code. I still am not sure what your question is
exactly. Paste some stuff in http://bin.cakephp.org and provide a link
back.
bake on.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups "Cake
PHP"
Hi gwoo, thanx for the reply.
I'm using the latest alpha (4798) and followed this post by nate
(http://cake.insertdesignhere.com/posts/view/16) for the pagination.
On Apr 11, 8:02 pm, "gwoo" <[EMAIL PROTECTED]> wrote:
> what revision are you using?
--~--~-~--~~~---~
what revision are you using?
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups "Cake
PHP" group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROT
Hi, I'm successfully using pagination with cake 1.2 .
Now for the home page of the site I need to paginate content from two
different models.
I have two controllers and the home page is a view for an action of
one of them. The other one is queryed using the requestAction
function.
The problem is