I am trying to get jquery to work with cake as well, so if anyone has
any ideas that would be great.
On Jul 4, 12:26 pm, Contrid <[EMAIL PROTECTED]> wrote:
> Thanks for the responses guys! Greatly appreciated!
>
> I could use the 'ajax' feature...
> But the problem is that I'll then need the Scriptaculous libraries
> included.
> I don't want that, since I already have jQuery integrated.
> How can I make jQuery work with this?
>
> Best,
>
> On Jul 4, 8:00 pm, "[EMAIL PROTECTED]"
>
> <[EMAIL PROTECTED]> wrote:
> > All you need to do is type $this->render('view_name','ajax');
>
> > ajax is a layout which just contains <?php echo $content_for_layout; ?
>
> > > without all the usual layout.ctp stuff.
>
> > this also follows if for whatever reason you need to change the
> > layout. (checkout the manual page on controllers for how render works)
>
> > Simon
>
> > On Jul 4, 5:07 pm, Contrid <[EMAIL PROTECTED]> wrote:
>
> > > Hi there,
>
> > > Within my current view, I want to include another view.
> > > I tried using :
>
> > > <?= $this -> render('view_name'); ?>
>
> > > ...but it renders the entire layout.
> > > I just want the content inside of the view file.
>
> > > How can I accomplish this?
> > > Thank you for your help.
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---