Is CSS a helper you built?

If so, aren't you missing the $ ?

If you are trying to link to a CSS file in your <head> then do:

<?php echo $html->css('css_file'); ?>

Where css_file is a reference to WEBROOT/css/css_file.css

-MI

---------------------------------------------------------------------------

Remember, smart coders answer ten questions for every question they ask. 
So be smart, be cool, and share your knowledge. 

BAKE ON!


-----Mensaje original-----
De: [email protected] [mailto:[EMAIL PROTECTED] En nombre
de Steniskis
Enviado el: Viernes, 08 de Diciembre de 2006 05:39 a.m.
Para: Cake PHP
Asunto: Re: Model not available from app_controller

It is a problem with the head helper. So I put all my helpers in my
app_controller and then there is an error message about
css->register().
May be someone could have an insight on this problem of missing. I feel
like turning around and around.
Thank you for your help


--~--~---------~--~----~------------~-------~--~----~
 You received this message because you are subscribed to the Google Groups 
"Cake PHP" 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