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. This is great. Excellent article. I have understood much clearer now.
    Web Design Company | Web Development Company | Mobile App Development Company

  10. Interesting post! This is really helpful for me. I like it! Thanks for sharing!

    Webseiten Gestaltung Lüdenscheid

  11. Is yii php framework safe and sturdy?

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

  13. Thanks For Your valuable posting, it was very informative

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

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

  16. Thanks For Your valuable posting, it was very informative
    toshiba q300 interne ssd

  17. The website is looking bit flashy and it catches the visitors eyes. A design is pretty simple .

  18. Your website content nice nice and interesting to observe.
    jobbörse Neunkirchen

  19. Thanks for your marvelous posting! It is very useful and good. Come on. I want to introduce an get app installs, I try it and I feel it is so good to rank app to top in app store search results, have you ever heard it?

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

  21. I like the post format as you create user engagement in the complete article. It seems round up of all published posts. Thanks for gauging the informative posts.
    cara menggugurkan kandungan

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

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

  24. 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

  25. I read this article. I think You put a lot of effort to create this article. I appreciate your work.
    thesis Writing Service