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
Post a Comment