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?
Page 1 of 1
How to apply new theme in Yii
#3
Posted 11 June 2012 - 09:06 PM
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.
#4
Posted 11 June 2012 - 10:23 PM
Put the theme in to themes folder in your application.
Jst try it by adding 'theme'=>'name of ur theme' in to protected/config/main.php
Jst try it by adding 'theme'=>'name of ur theme' in to protected/config/main.php
Found anything useful???? Pls click +
Ubuntu 12.04--PHP 5.3.10(Yii v1.1.13)
Ubuntu 12.04--PHP 5.3.10(Yii v1.1.13)
#5
Posted 11 June 2012 - 11:48 PM
CPzee, on 11 June 2012 - 10:23 PM, said:
Put the theme in to themes folder in your application.
Jst try it by adding 'theme'=>'name of ur theme' in to protected/config/main.php
Jst try it by adding 'theme'=>'name of ur theme' 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
'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',
),
#6
Posted 12 June 2012 - 04:29 AM
not:
but:
'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',
),
clive, on 11 June 2012 - 11:48 PM, said:
'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',
),
'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',
),
but:
'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',
),
red
#7
Posted 12 June 2012 - 06:06 AM
redguy, on 12 June 2012 - 04:29 AM, said:
not:
but:
'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',
),
but:
'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',
),
thanks a lot men it worked
Share this topic:
Page 1 of 1

Help
This topic is locked













