Wiki

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

How to pass the third parameter to UserIdentity on login authentication

Created 2 years ago by Rohit SutharHow-tos6 comments – viewed 13,540 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 about a year ago by le_topTips0 comments – viewed 4,886 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,829 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 15,053 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,708 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,488 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/

How to extend yiic shell commands

Created 7 years ago by qiangTutorials1 comment – viewed 23,897 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,266 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,745 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,928 times – ( +2 ) – version 2.0
Use this extension : yii2-relation-trait