The whole point of Cake is for rapid application development.  You
shouldn't modify your PHP/logic programming in order for it to change
the way it outputs the HTML if it's just going to work the same..  I
personally would prefer 1 line of code to 7 lines =)

On Mar 30, 10:54 am, "rtconner" <[EMAIL PROTECTED]> wrote:
> Nate, hey cool thanks. Though when I tried it out
>
> <? echo $html->css(array("reset", "fonts", "base", "layout", "nav"),
> "import"); ?>
> Produced
> <style type="text/css">@import url(/tire/thirstytire/css/reset.css);</
> style>
> <style type="text/css">@import url(/tire/thirstytire/css/fonts.css);</
> style>
> <style type="text/css">@import url(/tire/thirstytire/css/base.css);</
> style>
> <style type="text/css">@import url(/tire/thirstytire/css/layout.css);</
> style>
> <style type="text/css">@import url(/tire/thirstytire/css/nav.css);</
> style>
>
> Which I'm not sure if its worse than. I think its a fine way of doing
> things though.
> <style type="text/css" media="all">
> @import url(<?=$html->url('/css/reset.css')?>);
> @import url(<?=$html->url('/css/fonts.css')?>);
> @import url(<?=$html->url('/css/base.css')?>);
> @import url(<?=$html->url('/css/layout.css')?>);
> @import url(<?=$html->url('/css/nav.css')?>);
> </style>
>
> Mr Kabbage, good tips. Yeah controller name was wrong, I just typed
> that up and missed that detail.


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Cake 
PHP" group.
To post to this group, send email to cake-php@googlegroups.com
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