Re: How to load content on a specific area of the page with ajax

2011-03-13 Thread Dr. Loboto
You should include prototype.js lib yourself as said on http://book.cakephp.org/#!/view/1358/AJAX On Mar 13, 5:39 am, Chris wrote: > I have a single post I want to load for my website. > I made a controller function > >         function homeview(){ >         $this->ParentcornerPost->recursive = -

Re: How to load content on a specific area of the page with ajax

2011-03-13 Thread cricket
On Sat, Mar 12, 2011 at 6:39 PM, Chris wrote: > I have a single post I want to load for my website. > I made a controller function > >        function homeview(){ >        $this->ParentcornerPost->recursive = -1; >        $this->set('posts',$this->ParentcornerPost- >>find('first',array(null,null,'

How to load content on a specific area of the page with ajax

2011-03-13 Thread Chris
I have a single post I want to load for my website. I made a controller function function homeview(){ $this->ParentcornerPost->recursive = -1; $this->set('posts',$this->ParentcornerPost- >find('first',array(null,null,'date DESC'))); $this->render(array('view_ajax','