Wednesday, June 1, 2011

Themed, css and javascript with wrong path

Hi,

Cakephp 1.3

<?php
class AppController extends Controller {
public $view = 'Theme';
public $theme = 'default';

var $helpers = array('Html');
}
?>

views/themed/default/layout/default.ctp
<head>
<?php echo $this->Html->css('style.general'); ?>
</head>

views/themed/default/webroot/css/style.general.css

The same way, javascript added in js folder. But I am getting no
styles in template
i didnt make any change in htaccess


Working in localhost. So the folder name is cakephp_r

--
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: