Hi, What I'm talking about is rendering elements directly from a controller. (Not from within a view.)
(see http://cakebaker.42dh.com/2007/12/21/rendering-elements-from-controllers/) I've found that the problem is that $this->render('/elements/example'); is now trying to find the file at /app/views/controllername/elements/example.ctp instead of /app/views/elements/example.ctp which is not how it used to be. On Apr 15, 1:50 am, mehodgson <[EMAIL PROTECTED]> wrote: > 1.2.x uses a new syntax for rendering elements: > > $this->element('helpbox', array('cache' => true)); > > You should probably look over the temp docs for 1.2 it will help to > understand the changes that have been made from > 1.1:http://tempdocs.cakephp.org/ --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
