1.3 app. It seems to work correctly except that it's still referencing
the base css file (app/webroot/css/cake.generic.css) instead of the
themed css file (app/views/themed/default/webroot/css/default.css).
articles_controller.php:
class ArticlesController extends AppController {
var $view = 'Theme';
var $theme = 'default';
var $helpers = array('Form', 'Html', 'Markdown');
app/views/themed/default/layouts/default.ctp:
<?php echo $html->css('default'); ?>
When the page is rendered in my browser, and I view the source, this
is the result:
<link rel="stylesheet" type="text/css" href="/[username]/css/
default.css" />
Why is the app not referencing the css within the theme folder instead
of the default folder?
--
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
No comments:
Post a Comment