With CakePHP v1.2.0.6311 you can do $this-
>render(null,null,DS.'elements'.DS.'example'); to use the default
layout along with your element.

On Apr 15, 3:33 am, chanon <[EMAIL PROTECTED]> wrote:
> I've found the workaround, just use the $file parameter:
> $this->render(null, 'ajax', VIEW . /elements/example.ctp);
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to