I'm converting from 1.3 to 2.1. I'm having problems getting any of my
stylesheets to load properly from any link other than home!
//sitename:8080/
using home.ctp, then one time through default.ctp (in App/View/
Layouts)
the code "echo $this->Html->css('ezshoot_common');" generates
<link rel="stylesheet" type="text/css" href="/css/cake.generic.css" />
//sitename:8080/admin/controls
using admin_index.ctp (which contains a single line of text... nothing
going on!)
the same code line in default.ctp generates
<link rel="stylesheet" type="text/css" href="/index.php/admin/css/
cake.generic.css" />
Obviously, this is the wrong href...
One other note... Debugging home.ctp will use the default.ctp one
time to render the output. When debugging the admin_index.ctp, it is
entered once, but the default.ctp is used twice!? After the first
time though, the browser has displayed the text, but default.ctp is
being processed a second time... and I think it is rendered again!
Any ideas would be greatly appreciated
--
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
cake-php+unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment