August 04, 2014

August 04, 2014
1
In this article, we are going to discuss about the step by step procedure to install the new theme in YII PHP Framework. 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.

Step 1:

Open your YII app folder where you've installed yii framework app.

Step 2:

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

Step 3:

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

Step 4:

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


Step 5: 

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

Step 6:

Check theme has been installed successfully. (http://localhost/yiiapp/

1 comments: