Try it from a layout. ...but your question is about calling it from inside an element :-S
... or do you mean an element that's linked from a layout and not a view? On Jan 26, 2:19 pm, Gonzalo Servat <[email protected]> wrote: > On Mon, Jan 26, 2009 at 12:17 PM, RichardAtHome > <[email protected]>wrote: > > > > > Sorry AD7six, just tried it in an element and the code IS injected > > into the header: > > > view.ctp > > <?php echo $this->element("test") ?> > > > elements\test.ctp > > <?php echo $html->css("test", array(), null, false) ?> > > > I'm using the latest stable build of Cake > > Try it from a layout. > > - Gonzalo --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "CakePHP" 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 -~----------~----~----~----~------~----~------~--~---
