In addition to this, I found out a few more informations about it that might be useful.
Both the Suppliers controller and the Products controller use the Paginator helper, when dumping the data related to the paginator helper in the element, the data dumped belongs to the Supplier's one. On 6/18/07, Repsah <[EMAIL PROTECTED]> wrote: > > I have been following the instruction reported here: > http://bakery.cakephp.org/articles/view/creating-reusable-elements-with- > requestaction > Checked the google group for possible answers for my problems, one matched > but the solution didn't work. > > Basically, I'm using an element in a view, this element makes use of the > Paginator helper, but the output is not as desired: > > 1) a few notices like - Undefined index: count [*CORE\cake > \libs\view\helpers\paginator.php*, line *385*] > 2) prev and next url not working > 3) sorting url pointing to: suppliers/view/page:1/sort:id/direction:asc > instead than products/index/page:1/sort:id/direction:asc > > suppliers/view is the action I'm calling which includes an element based > on products/index. > > Any idea about where I am going wrong? > > Details of the code can be found here: > http://bin.cakephp.org/view/1461716578 > > Thank you > --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
