Wiki

Articles in category "tutorials", sorted by date (updated)X
Displaying 41-50 of 253 result(s).

Gettext and Poedit HOWTO

Updated 2 years ago by Maug LeeTutorials0 comments – viewed 5,440 times – version 1.1
Example settings when using Gettext for i18n.

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

Updated 2 years ago by Rohit SutharTutorials2 comments – viewed 11,718 times – ( +2 ) – version 1.1
1) include the fancybox extesion otherwise fancybox js

Simple Way to Upload and Save File

Updated 2 years ago by Misbahul D MunirTutorials0 comments – viewed 15,780 times – ( -2 ) – version 2.0
This tutorial need extension mdmsoft/yii2-upload-file. Follow the intruction to install. After installation done, create controller and action

Upload CSV File

Updated 2 years ago by bhavesh vaghelaTutorials2 comments – viewed 15,935 times – ( +8 ) – version 1.1
View file

Getting to Understand Hierarchical RBAC Scheme

Updated 2 years ago by rAWTAZTutorials15 comments – viewed 95,773 times – ( +63 ) – version 1.1
Authentication and Authorization is a good tutorial. Among other topics, it describes basic aspects of Yii's RBAC implementation. But however hard I read the tutorial, I couldn't understand how exactly the hierarchy works. I found how to define authorization hierarchy, how business rules are evaluated, how to configure authManager, but almost nothing about how I should build my hierarchy, in what sequence its nodes are checked, when the checking process stops and what would be the checking result.

How to display images in CJuiAutoComplete without extenstions

Updated 2 years ago by AsmaaTutorials0 comments – viewed 4,897 times – version all
I wanted to customize the CJuiAutoComplete, so that it displays a thumb image before the label like the one shown in the following image:

A simple way to get Yii client-side form validation run when submitting by ajax

Updated 2 years ago by nlacTutorials5 comments – viewed 46,164 times – ( +8 / -2 ) – version 1.1
A time ago i've met the issue that Yii doesn't run any client-side form validation when submitting the form by CHtml::ajaxSubmitButton. The small javascript below helps to fix it.

Translation from .txt file

Updated 2 years ago by Yii3Tutorials6 comments – viewed 4,320 times – ( +1 / -4 ) – version 1.1
Translation from .txt file Note:
tags: translation

[Updated] How to create & call custom global function in whole application?

Updated 2 years ago by Rohit SutharTutorials8 comments – viewed 14,508 times – ( +5 / -2 ) – version 1.1
In this wiki I will show how to create own custom global function. It may be save the space and reduce the time.

Two Login in same form in Yii application , with two tables

Updated 2 years ago by Rohit SutharTutorials6 comments – viewed 20,693 times – ( +4 / -7 ) – version 1.1
login links will be