Wiki

Sorted by ratingX
Displaying 521-530 of 751 result(s).

Creating and updating model and its related models in one form, inc. image

Created 2 years ago by BoazHow-tos10 comments – viewed 63,553 times – ( +6 / -3 ) – version 1.1
We start slowly and simple...

Search a file size range in CGridView

Created 2 years ago by CrazyCatTips0 comments – viewed 4,573 times – ( +2 )
Working on a report system of files transfert, I had to let the users simply find files by size. I didn't want to have two fields, I prefer a simple text input, with "human syntax".

Advanced CTabView using CClipWidget

Created 6 years ago by krillzipTutorials1 comment – viewed 11,126 times – ( +2 ) – version 1.1
Here is a way to dynamically extend tabs based on clips. Probably even more complex things could be done.

Clear CGridView Filters, Sort & Pager

Created 7 months ago by le_topHow-tos0 comments – viewed 4,891 times – ( +2 ) – version 1.1
Clearing CGridView filters and sort orders from the web pages, is usefull for the end user. Yii does not seem to propose a standard method. Furthermore, this is especially usefull when filters are "remembered" in the user's session.

How to pass the third parameter to UserIdentity on login authentication

Created 7 months ago by Rohit SutharHow-tos6 comments – viewed 7,863 times – ( +2 ) – version 1.1
In this wiki I will show how could wo pass the third parameter to UserIdentity on login authenticate. So we can do separate login authentcation from two or more different models from single login form.

Selecting best language based on Browser language and available languages.

Created 4 months ago by le_topTips0 comments – viewed 2,698 times – ( +2 ) – version 1.1
Your application is international and you have to select the best language for the user. Your user may have selected 'fr_CA' and you have 'fr_FR' or 'fr' available. What do you do? Here is a tip.

Active Record snapshotting (Model data base history)

Created 4 months ago by BizleyTutorials3 comments – viewed 2,556 times – ( +2 ) – version 1.1
One of the common tasks the web application might be required to perform, especially the app using some kind of a CMS, is to save the history of data changes. Your client for sure will want the answer to this simple question - If I mess this up or delete by accident can we bring it back? Well, DB backup is one thing and quick recovery is another - let's talk about latter one.

How to log context information to logger (session id, user, ...)

Created 6 years ago by olafureTutorials0 comments – viewed 13,651 times – ( +2 ) – version 1.1
Logging context information (session, user, ...) to the logfile can be of great help tracking down problems with specific users.
tags: Logging

How to display page on fancybox...using CHtml::ajaxlink with yii validation

Created about a year ago by Ankit ModiTutorials2 comments – viewed 9,763 times – ( +2 ) – version 1.1
1) include the fancybox extesion otherwise fancybox js

make chart from custome queries using amcharts widget

Created about a year ago by Narender NegiHow-tos0 comments – viewed 3,392 times – ( +2 )
Use this code in your view,make sure to put EAmChartWidget in your extension folder. here is the url of widget http://www.yiiframework.com/extension/eamchartwidget/