Hello, I have downloaded a new theme for yii, i’m only a beginner, how can I apply the new theme in my yii site?
Hello, I have downloaded a new theme for yii, i’m only a beginner, how can I apply the new theme in my yii site?
Take a look at this.
This will help.
thank you i checked the link but its hard to understand for a beginner, im only new to OOP is it possibe to gave a more specific example? thank you.
Put the theme in to themes folder in your application.
Jst try it by adding[color="#FF0000"] ‘theme’=>‘name of ur theme’[/color] in to protected/config/main.php
hello thanks for the reply but its not working so far, would mind taking a look in my syntax? i already put the theme in the themes folder of my application: C:\xampp\htdocs\yiisite\themes\wpcraft
[color="#4169E1"]‘components’=>array(
'user'=>array(
// enable cookie-based authentication
'allowAutoLogin'=>true,
//tell the application to use your WebUser class instead of the default CWebUser
'class'=>'WebUser',
'theme'=>'wpcraft',
),[/color]
not:
but:
[color="#4169E1"]
'theme'=>'wpcraft',
'components'=>array(
'user'=>array(
// enable cookie-based authentication
'allowAutoLogin'=>true,
//tell the application to use your WebUser class instead of the default CWebUser
'class'=>'WebUser',
),[/color]
[font=“Tahoma”]thanks a lot men it worked [/font]