| CakePHP Official Site · Rules and Regulations |
Help
Search
Members
Calendar
Shoutbox
|
| Welcome Guest ( Log In | Register ) | Resend Validation Email |
![]() ![]() ![]() |
| prabha |
Posted: Jun 2 2011, 11:58 PM
|
|
Newbie ![]() Group: Members Posts: 1 Member No.: 2861 Joined: 2-June 11 |
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 I am Working in localhost. So the folder name is cakephp_r |
| blux |
Posted: Jun 3 2011, 12:56 PM
|
![]() Advanced Member ![]() ![]() ![]() Group: Super Moderator Posts: 447 Member No.: 101 Joined: 14-November 07 |
put your files in the folders in app\webroot instead of /app/views
It will work fine. -------------------- You see, wire telegraph is a kind of a very, very long cat. You pull his tail in New York and his head is meowing in Los Angeles. Do you understand this? And radio operates exactly the same way: you send signals here, they receive them there. The only difference is that there is no cat.(Albert Einstein (1879 - 1955), when asked to describe radio)
|
![]() |
![]() ![]() ![]() |