Wiki

Sorted by commentsX
Displaying 581-590 of 774 result(s).

using jqbargraph to create beautiful graphs

Created 3 years ago by MAHESH.E.UTips1 comment – viewed 7,785 times – ( +5 ) – version 1.1
If you are about to create a graph, the best option i would suggest is the jqbargraph.

CjuiDatepicker

Created 3 years ago by hiral darjiTips1 comment – viewed 7,242 times – ( +3 ) – version 1.1
If you have two datepicker in one form and you want that a date of from date shold be minimum date of todate then put following code in Cjuidatepicker widget options array:

Implementing a Flat User Access System

Created 3 years ago by TrejderHow-tos1 comment – viewed 10,203 times – ( +9 ) – version 1.1
This article shows a quick and easy way to implement flat user access control system. Flat means, that user access is controlled by level only, which is solution exactly opposite to complex RBAC access systems.

How to create the custom Drop-down using CHtml::dropDownList

Created 2 years ago by Ankit ModiHow-tos1 comment – viewed 13,700 times – version all
Hi Friends, This tutorial may be help us create the custom drop-down menu using CHtml::dropDownList

How to change Migration Table name and use defined prefix.

Created 3 years ago by JorgeeHow-tos1 comment – viewed 9,419 times – ( +3 ) – version 1.1
To accomplish the task of changing Migration table's name, by default tbl_migration, you need to add the following in your ./protected/config/console.php.

Search scenario (CGridView, etc.): avoid default values from database as search condition.

Created 2 years ago by le_topTips1 comment – viewed 4,611 times – ( +1 ) – version 1.1
Yii has a neat "trick" that will assign default values to new CActiveRecords. When performing a search() though, this is pretty annoying as they automatically apply as filter values.

How to use a component before every action of a controller

Created 3 years ago by transistorTips1 comment – viewed 30,204 times – ( +2 / -1 ) – version 1.1
I guess this is a tip on how to execute some code before every action in a controller, because I will tell you how I did it and maybe you can use the idea in your project.

Profiling using XDebug

Created 3 years ago by le_topHow-tos1 comment – viewed 9,340 times – ( +3 ) – version all
A short explication on how to extract profile information for PHP on your server using XDebug and KCacheGrind or WinCacheGrind.

Configuring CWebLogRoute for DB profiling

Created 4 years ago by Igor IvanovicTutorials1 comment – viewed 22,703 times – ( +3 ) – version 1.1
/index.php /protected/config/main.php
tags: logger, profiler, db

Cron Jobs in Yii

Created 3 years ago by aarondfrancisHow-tos1 comment – viewed 20,160 times – ( +4 ) – version 1.1
I've gotten Yii running cron jobs, and wanted to explain briefly how I did it.