php - Specifying the server path in yii -


i m quite new yii , have written crud , hosted in justhost.com. problem have used grid , replaced css of grid customized css.

$this->widget('zii.widgets.grid.cgridview', array( 'id' => 'my-model-grid', 'dataprovider' => $model->search(), 'filter' => $model, 'afterajaxupdate' => 'reinstalldatepicker', 'cssfile' => yii::app()->request->baseurl.'/css/gridviewstyle/gridview.css', 'columns' => array( 

the problem doesnt identify css file path. file structure /mydirectory/css/gridviewstyle/gridview.css - css file location /mydirectory/protected/views/memberdetails/filtermembers.

deployed in linux server.

can 1 this.

what have should work if mydirectory root of site. browser dev/network tools show css file not being loaded? maybe mispelled folder? check case sensitivity


Comments

Popular posts from this blog

c++ - Difference between pre and post decrement in recursive function argument -

php - Nothing but 'run(); ' when browsing to my local project, how do I fix this? -

php - How can I echo out this array? -