bottom of the view, so that was not the issue.
I actually figured out what the problem was late last night after many
hours spent trying different things. I will post here incase anyone
else is faced with this problem.
The issue was that I was loading in multiple javascripts, mainly
prototype and jquery, which will conflict unless you make a call to
noConflict (if I understand this correctly, I still need to read more
about this).
Even though I had read this section in the cakephp manual (http://
book.cakephp.org/view/1643/Using-jQuery-with-other-libraries) I did
not realize at the time that that was my problem.
On May 26, 8:15 am, Philip Thompson <philthath...@gmail.com> wrote:
> You should also have a writeBuffer() call at the end of your home.ctp...
>
> Don't know if that will solve all your problems, but it's something. Hope
> that helps.
>
> ~Philip
>
> http://lonestarlightandsound.com/
>
>
>
>
>
>
>
> On Wed, May 25, 2011 at 5:16 PM, l4yercake <hani.boures...@gmail.com> wrote:
> > Hello all,
>
> > I followed the directions in the Cake 1.3 manual to implement ajax
> > pagination (http://book.cakephp.org/view/1600/Ajax-Pagination) and I
> > also tried the method posted by Mark Story (Thanks!) on his blog
> > (http://mark-story.com/posts/view/creating-simple-ajax-pagination-with-
> > cakephp-1-3-and-mootools).
>
> > I know from the comments that these two methods have worked for users,
> > but I can't seem to figure out what the issue is with my code. Here is
> > a link to my code:http://bin.cakephp.org/view/441618115
>
> > This is what I am encountering: I have set a limit of 10 results.
> > These results show up correctly, however when I click on the "next"
> > link to show the rest of the results, the entire page goes empty.
> > Without AJAX, I am taken to page 2 and the results show up. With AJAX
> > implemented as shown in my code, the entire page just goes empty/
> > white.
>
> > I have tried searching for this particular scenario and what might be
> > affecting it but I could not find anything. I would appreciate any
> > help.
>
> > Thank you!
>
> > --
> > Our newest site for the community: CakePHP Video Tutorials
> >http://tv.cakephp.org
> > Check out the new CakePHP Questions sitehttp://ask.cakephp.organd help
> > others with their CakePHP related questions.
>
> > To unsubscribe from this group, send email to
> > cake-php+unsubscribe@googlegroups.com For more options, visit this group
> > athttp://groups.google.com/group/cake-php
--
Our newest site for the community: CakePHP Video Tutorials http://tv.cakephp.org
Check out the new CakePHP Questions site http://ask.cakephp.org and help others with their CakePHP related questions.
To unsubscribe from this group, send email to
cake-php+unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php
No comments:
Post a Comment