I needed your assistance as i cannot figure this out. I have been developing an app using Yii for almost 2 years now. Our team started with Yii 1.0.x version and now we are currently working with Yii 1.1.x. There were few place e.g. html tables which we did not update to cgridview and we do not need them to be cgridview.
But i need to use the same css which is used in the default cgridview for those tables
I dont want to make a copy of styles.css from zii folder and then use it cause if there is an update to Yii i will need to keep merging the changes.
Can you guys and gals help me get a better solution? Like if i can get the css file from the assets directly or something like that.
When a "zii" widget runs it publishes the zii.widgets.assets folder (this may not be true for the JUI widgets in zii). So, if you need the path for the zii widget assets, in this case the css for CGridView, you can simply use the following code: