... which file do you put that code in?

On Apr 23, 5:04 am, Ed Propsner <[email protected]> wrote:
> I really don't know if it would make a difference but I use [code]
> $html->css(array('forms')); [/code]
> Then again I'm using more than one style sheet.
>
> - Ed
>
>
>
> On Fri, Apr 23, 2010 at 10:54 AM, piousbox <[email protected]> wrote:
> > Fromhttp://book.cakephp.org/view/206/Inserting-Well-Formatted-elements
> > This: <?php echo $html->css('forms'); ?>
> > Gives you this: <link rel="stylesheet" type="text/css" href="/css/
> > forms.css" />
> > The file is here: /app/webroot/css/forms.css where /app/ is /nh/ in
> > your case.
>
> > You can try messing with defined constants in /nh/webroot/index.php
> > and figure out where your "webroot" actually is. Or, you can post more
> > information here: the exact PHP line you use to include that CSS file,
> > the line from the source file that has the <link /> element, and the
> > directory tree of your /nh/ and /nh/webroot/
>
> > cheers,
> > -Victor
>
> > On Apr 22, 1:23 am, Psyber Netik <[email protected]> wrote:
> > > You guys probably answered a ton of these already... but, I just can't
> > > find the post...
>
> > > As the subject says... The path that is being given is wrong. Would I
> > > have to edit the helper?
>
> > > The path that is being used is "/nh/css/cake.generic.css" it should
> > > actually be "/nh/webroot/css/cake.generic.css" right? In the "nh"
> > > directory I don't have a "css" folder. "nh" is the name of the app. In
> > > my apache webroot I have the following:
>
> > > bitslip:/srv/www/htdocs # ls -l
> > > total 8
> > > drwxrwxr-x  5 root root 4096 2010-04-14 22:10 cakephp
> > > -rw-r--r--  1 root root    0 2010-04-21 18:27 index.php
> > > drwxr-xr-x 12 root root 4096 2010-04-21 20:02 nh
>
> > > In the "nh" folder I used the `cake bake` command which generated all
> > > the files I needed.
>
> > > Please help this noob!!!
>
> > > Check out the new CakePHP Questions sitehttp://cakeqs.organdhelp 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 [email protected]
> > > To unsubscribe from this group, send email to
> > > [email protected]<cake-php%[email protected]>For
> > >  more options, visit this group athttp://
> > groups.google.com/group/cake-php?hl=en
>
> > Check out the new CakePHP Questions sitehttp://cakeqs.organd 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 [email protected]
> > To unsubscribe from this group, send email to
> > [email protected]<cake-php%[email protected]>For
> >  more options, visit this group at
> >http://groups.google.com/group/cake-php?hl=en
>
> Check out the new CakePHP Questions sitehttp://cakeqs.organd 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 [email protected]
> To unsubscribe from this group, send email to
> [email protected] For more options, visit this group 
> athttp://groups.google.com/group/cake-php?hl=en

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