sarvan75 / yii-user-management

Automatically exported from code.google.com/p/yii-user-management
0 stars 0 forks source link

Fail to apply CSS on statistics #161

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Go to statistics link in user module

What is the expected output? What do you see instead?
Fail to use statistic.css

What version of the product are you using? On what operating system?
YUM 0.8rc5 

Please provide any additional information below.
It can be fixed in protected/modules/user/views/statistics/statistics.php, 
replacing:

8: Yum::register('statistics.css');

with:

 8: Yii::app()->clientScript->registerCssFile(
 9:      Yii::app()->getAssetManager()->publish(
10:           Yii::getPathOfAlias('YumAssets').'/css/statistics.css'));

Original issue reported on code.google.com by dgeape...@gmail.com on 12 Sep 2011 at 4:55