Migrating from local host...Issues with CSS
This is kicking my butt...I have migrated my application from my localhost to my server. I modified the database config and the application seems to be hitting the database correctly and it seems that my themed layout is being used correctly...HOWEVER, the themed css is not being utilized. I can't seem to figure it out...
Here are my settings:
class AppController extends Controller {
public $view = 'Theme';
public $theme = 'default';
}
In my controller:
$this->layout = 'onecolumn';
In my view:
<?php echo $this->Html->css('default'); ?>
<!--[if IE 6]>
<?php echo $this->Html->css('default_ie6'); ?>
<![endif]-->
My routes.php seems to be working since the URL is pulling up the correct layout and the database is populating the data...But the style and images are just not working. What am I doing wrong? How is it possible that the layout would be pulled correctly but the .css and img would not? Any help is much appreciated!
--
Like Us on FaceBook https://www.facebook.com/CakePHP
Find us on Twitter http://twitter.com/CakePHP
---
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+unsubscribe@googlegroups.com.
Visit this group at http://groups.google.com/group/cake-php?hl=en.
0 Comments:
Post a Comment
Subscribe to Post Comments [Atom]
<< Home