False Alarm. I started messing with the css file and changed the
background color
This showed that the css WAS working, but that the default color was
way bad.
This change works..
====== 8< ======
/** General Style Info **/
body {
/** background: #003d4c; WAY TOO DARK **/
background: #99ff33;
color: #fff;
font-family:'lucida grande',verdana,helvetica,arial,sans-serif;
font-size:90%;
margin: 0;
}
===== >8 ========
Cake should change this default!
john
On Nov 21, 5:20 pm, johng <[email protected]> wrote:
> Thanks Will
>
> But I still cannot get it to work.
>
> There is a .htaccess file in both the project folder of the project
> and one in the \app folder.
> Neither is hidden.
> here is content of the one in project folder
> == 8< ====
> <IfModule mod_rewrite.c>
> RewriteEngine on
> RewriteRule ^$ app/webroot/ [L]
> RewriteRule (.*) app/webroot/$1 [L]
> </IfModule>
> == >8 ====
>
> I know nothing about mod_rewrite so do not know what it is trying to
> do.
> This is running on a WinXP virtual PC with latest WAMP installer. Also
> I am using PHPStorm.
> So far everything works as expected. I can insert view and change
> data. But I cannot see a good screen as the css is not being found.
>
> I have un-commented the LoadModule rewrite_module modules/
> mod_rewrite.so line in httpd.conf and restarted Apache
> Should I rename the .htaccess files or should they stay like that on a
> windows system ?
>
> Still confused here. 8-(
>
> John
>
> On Nov 21, 1:56 pm, "#2Will" <[email protected]> wrote:
>
>
>
>
>
>
>
> > this is normally because the .htaccess file is missing from the site
> > root. because it is a hidden file or whatever...
>
> > w
>
> > On Nov 20, 7:43 pm, johng <[email protected]> wrote:
>
> > > I have followed a tutorial for my first try using the scaffold, and I
> > > can connect to db and produce the output. But the data is barely
> > > readable as it shows a dark green on heavy green background.
> > > Obviously it is not finding the needed css file, but I cannot
> > > determine where to fix this.
>
> > > Here is top of html source
>
> > > ======= 8< ==
> > > <head>
> > > <meta http-equiv="Content-Type" content="text/html;
> > > charset=utf-8" />
> > > <title>
> > > CakePHP: the rapid development php framework:
> > > Scaffold :: Index :: Pffids </title>
> > > <link href="/favicon.ico" type="image/x-icon" rel="icon" />
> > > <link href="/favicon.ico" type="image/x-icon" rel="shortcut icon" />
> > > <link rel="stylesheet" type="text/css" href="/css/cake.generic.css"
> > > /></head>
>
> > > <body>
> > > ======= >8 ======
>
> > > John
--
Our newest site for the community: CakePHP Video Tutorials
http://tv.cakephp.org
Check out the new CakePHP Questions site http://ask.cakephp.org and help others
with their CakePHP related questions.
To unsubscribe from this group, send email to
[email protected] For more options, visit this group at
http://groups.google.com/group/cake-php