I’ve read the topic about ‘Asset’ folder and understand what it is use for and how to it work!
In asset folder, it is just a temporary folder to contains CSS, Image, JS files and it will auto generate when we run Yii.
Yep, it seem right with localhost, but when I put it on to server. There are somethings wrong with my ‘Asset’ folder in server. I’ve used firebug and saw the css files which it references to still hold the old path as I use in localhost before. Although I’ve tried to remove all sub-files under ‘Asset’ folder.
How can I let Yii know to reference to the new CSS and JS files?
This file is part of the CGridView located in the framework folder under "framework/zii/widgets/assets/gridview"
When you use CGridView it should be copied to the assets folder… but if it does not happen… first thing is to check the permissions of the assets folder… it should be writable by the web process…