Saturday, April 24, 2010

Re: Using Non-Inline Css in Element

> Think about it some more. The layout contains a line to echo
> $scripts_for_layout, which includes any CSS added in a view/element.
> So, the PHP engine gets to that line and Cake spits out whatever non-
> inline JS and CSS was added.
>
> A few lines later, the element is encountered. How do you suppose the
> call to $html-css() is supposed to reserve the link to be included in
> $scripts_for_layout, rather than included inline?

Ahh - he's rendering the element in the layout! yep, you're quite right!

doh (me).

J

--
jon bennett - www.jben.net - blog.jben.net

Check out the new CakePHP Questions site http://cakeqs.org and help others with their CakePHP related questions.

You received this message because you are subscribed to the Google Groups "CakePHP" group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from this group, send email to
cake-php+unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php?hl=en

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home


Real Estate