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 = -
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,'
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','