Sorted by ratingX
Displaying 541-550 of 779 result(s).

Selecting best language based on Browser language and available languages.

Created about a year ago by le_topTips0 comments – viewed 4,696 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 about a year ago by BizleyTutorials3 comments – viewed 5,494 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 7 years ago by olafureTutorials0 comments – viewed 14,947 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 3 years ago by Ankit ModiTutorials2 comments – viewed 11,577 times – ( +2 ) – version 1.1
1) include the fancybox extesion otherwise fancybox js

make chart from custome queries using amcharts widget

Created 3 years ago by Narender NegiHow-tos0 comments – viewed 4,398 times – ( +2 )
Use this code in your view,make sure to put EAmChartWidget in your extension folder. here is the url of widget

How to extend yiic shell commands

Created 7 years ago by qiangTutorials1 comment – viewed 23,663 times – ( +2 ) – version 1.1
Note: this tutorial requires Yii 1.0.8 or later.
tags: yiic

How to handle decimal separators (e.g comma instead of dot) for l18n

Created 4 years ago by jpabloHow-tos2 comments – viewed 15,123 times – ( +2 ) – version 1.1
Yii i18n does not cover decimal format. Some languages like Spanish (I live in Argentina) uses comma ',' instead of dot '.' as decimal separator.

Help pages using Markdown view renderer

Created 3 years ago by nineinchnickTutorials2 comments – viewed 4,685 times – ( +2 )
This tutorial describes how to write your views for help pages using Markdown syntax to be able to generate PDFs from same source files.

Load & Save With Relation

Created about a year ago by moo.tensaiTips0 comments – viewed 6,702 times – ( +2 ) – version 2.0
Use this extension : yii2-relation-trait

Export query content to excel through any of your controllers, also can set cssClass for header/odd/even rows, auto download

Created about a year ago by Scott_HuangTutorials1 comment – viewed 8,481 times – ( +2 ) – version 2.0
I have generate one extension base below wiki. You can easily download and use it directly instead of digest below article.