This tutorial will help you to create a custom access method. I have done this method using "module-controller-action" method like employee_employee_admin.
This tutorial will help your to add the span, class, style etc for the Yii Form Label (Yii Framework 1.x). We can give ajax parameter using the below code. It will helpful for dynamic form requirement and validation.
This tutorial will help you to hide the record delete button from CGridView if the record is used in other tables using relation concept.
CSqlDataProvider implements a data provider based on a plain SQL statement. This tutorial will help you to display the custom sql query result into cgridview as normal crud view.
Yii 1.0 Framwork MetaTag Script like keywords, description, robots etc. Registers a meta tag that will be inserted in the head section of the display page.
This tutorial will help you to display the image in CDetailview widget of yii framework 1.0. We added a different funcitons in model.php to display the image with different methods like only image, image […]
Before save the image into database, i created one ‘text’ field in mysql table to save the image code. We can show the image in CDetailview from database table of yii framework. Here i […]
This tutorial will useful to change your yiiframework website to maintenance mode. User can access maintenance file only. Maintenance Controller Maintence File Maintenance Controller Make or Point the controller action to maintenance mode. return […]
CHttpRequest is equal to ‘$_SERVER’. we are using ‘$_SERVER’ variable to get the details of request, scripts, headers etc. We can get this information using CHttpRequest class. We can access the CHttpRequest via Yii::app()->request. […]
CButtonColumn used to renders one or more buttons in gridview columns. Basically cgridview column have three buttons. They are “view”, “update”, “delete” button and it have corresponding actions. We can change it using CButtonColumn […]