On Tue, Jan 27, 2009 at 12:51 PM, RichardAtHome <[email protected]>wrote:
> > 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? Right! An element called from a layout that has a call to $html->css() in it (with inline set to false). Like I said, the way I fixed it was by creating a helper which I call from the element to add the custom CSS file and called from the layout inside the <head></head> section to print it out. - 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 -~----------~----~----~----~------~----~------~--~---
