Just to help others who might help you, are you running the latest version
of Cake?

On Mon, Oct 6, 2008 at 10:34 AM, Marc Campeau <[EMAIL PROTECTED]> wrote:

>
> Hi everyone,
>
> I'm having trouble with the HtmlHelper and the $scripts_for layout.
> Basically, I use the helper to add CSS inline ($html-
> >css(array('someCss'), null, null, false);) from within the different
> elements (/views/elements/) that the view needs to render. I would
> have expected these CSS to show up in the HTML Head by echoing
> $scripts_for_layout in default.ctp but unfortunately they don't? If I
> echo the CSS inline then they do show up in the markup.
>
> Anyone knows what I'm doing wrong?
>
> Side notes:
> Doing the $html->css() inline call from /views/default.ctp doesn't
> work either.
> Doing the $html->css() inline call from the view that's rendered (/
> views/users/login.ctp for instance), works.
>
> Thanks for taking the time to read this,
>
> Marc
>
> >
>


-- 
Join cleanscript.com Come here for professional PHP coding.

--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to