Sunday 12 January 2014

How to install different theme on yii application?

In web application, designing  also has same importance as development because user interface matters. If UI is not user friendly then ultimately application won't be useful. Here i'll show you brand new theme installation on yii php framework.
First we need some template compatible with yii framework. I found two template link which is free Theme1 Theme2  download both templates from given links. After downloading complete follow the steps

1. First go to your yii app folder where you've installed yii framework app( for installation read my first blog installaiton)

2. Copy template folder and paste it into the theme directory which exist in your app folder (/opt/lampp/htdocs/yiiapp/themes/)

3. open protected folder and find config directory and open it, in config directory there is one main.php file open it in any text editor.(/opt/lampp/htdocs/yiiapp/protected/config/main.php)

4. make following changes in the main.php ('theme'=>'themename',) here is the screen shoot of main.php file

5. It simply route your theme folder and find cleangrad if found load it

6. check theme has been installed successfully. (


  1. I got this exception after checking the changes.
    Property "CWebApplication.themes" is not defined.

  2. Actually its the best information for learned some information about PHP..Thank you for sharing the useful information...Website Designing Services in Bangalore | Website Development Services in Bangalore

  3. nice post akshay, everybody must watch, it works ... sahi

    shetty Balaji

  4. not working


    // This is the main Web application configuration. Any writable
    // CWebApplication properties can be configured here.
    return array(
    'name'=>'My Application',

    // preloading 'log' component
    'preload'=>array('log', 'booster'),

  5. I like this blog, saved to my bookmarks.I have got some important suggestions from it, specially How to install different theme on yii application.I'm working in Fuzzy International private limited.

  6. Your post, regarding to Theme Installation is very effective for learners. I have got some important suggestions from it.I'm working in Brave Technologies Private Limited.BRAVE TECHNOLOGIES is a leading ERP software company offering best quality cost effective software applications and end to end enterprise solutions. We are experts in Mobile App development on both platforms – Android & iOS.

  7. Useful post. i like your blog. Thanks for sharing.

    Magento development

  8. Thanks for your great information. Sign up and Register Your Events Today! Upcoming Events in India. We make registration process easier and track number of students attending the event.Online Event Registration Websites

  9. Is yii php framework safe and sturdy?

  10. Your website content nice nice and interesting to observe.
    office 2013 professional plus key deutsch

  11. Your post on all YII framework help us alot thanks for sharing such insightful tutorials.
    Mobile app development companies in Los Angeles

  12. Your website content nice nice and interesting to observe.
    ssd festplatte samsung

  13. Your website content nice nice and interesting to observe.
    Internet Marketing Dienstleistungen

  14. Great article . Iam planning to use the theme for our college website

  15. Thanks For Your valuable posting, it was very informative
    jobbörse Neunkirchene

  16. Hi,

    Thanks for sharing a very interesting article about How to install different theme on yii application? This is very useful information for online blog review readers. Keep it up such a nice posting like this.

    Maestro Infotech,
    Web Design Company Bangalore