Blog Archives

Yii Tips and Tricks

While working on Project base on Yii framework, got some questions/problems. After searching couple of hours found solutions,So sharing here…., How can change default action of Yii controller? Ans:- Declare variable  ‘ public $defaultAction = ‘actioname’; ” in controller. e.g.:-  class LoginController

Tagged with:
Posted in PHP, Yii

URL rewriting in Yii to hide index.php

Hi Folks, I am using Yii -yes it is,  MVC framework for new project in PHP. I started  learning  yii from the official site of yii. I found it is hard to start the work on yii, specially who don’t have knowledge of

Tagged with: ,
Posted in .htaccess, Yii