>From http://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 <psyber.ne...@gmail.com> 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.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 cake-php@googlegroups.com
> To unsubscribe from this group, send email to
> cake-php+unsubscr...@googlegroups.com 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 cake-php@googlegroups.com
To unsubscribe from this group, send email to
cake-php+unsubscr...@googlegroups.com For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en

Reply via email to