PHPSOFT SOLUTIONS

Yii

Include jquery in yii

Follow following steps: 1. Open root/protected/views/layout/main.php 2. write <?php Yii::app()->clientScript->registerCoreScript(‘jquery’); ?> in head section. 3.Test with <script type=”text/javascript”> $(function(){ alert(“Jquery […]

View Post

Yii add new action button to CGridView

In admin grid listing of any controller, we can add a custom action button along with viiew, update and delete.follow […]

View Post

How to create Yii first app

In WAMP: 1. Set your path of php in your local variables. 2. Open command prompt and type like ‘D:wampwwwyiiframeworkyiic […]

View Post