Wiki

Articles in category "tutorials", sorted by date (updated)X
Displaying 21-30 of 238 result(s).

Simple Way to Upload and Save File

Updated 5 months ago by Misbahul D MunirTutorials0 comments – viewed 6,067 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

How to use imagine ( crop, thumb, effects for images ) on Yii2

Updated 5 months ago by Anas AbuDayahTutorials0 comments – viewed 6,013 times – ( +5 ) – version 2.0
Imagine adds most common image functions and also acts as a wrapper to Imagine image manipulation library.

Upload CSV File

Updated 5 months ago by bhavesh vaghelaTutorials2 comments – viewed 11,217 times – ( +7 ) – version 1.1
View file

Getting to Understand Hierarchical RBAC Scheme

Updated 5 months ago by rAWTAZTutorials15 comments – viewed 78,920 times – ( +62 ) – 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 5 months ago by AsmaaTutorials0 comments – viewed 2,478 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 6 months ago by nlacTutorials5 comments – viewed 33,747 times – ( +7 / -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 6 months ago by Yatin MistryTutorials6 comments – viewed 2,468 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 6 months ago by Rohit SutharTutorials8 comments – viewed 5,012 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 7 months ago by Rohit SutharTutorials5 comments – viewed 16,519 times – ( +4 / -7 ) – version 1.1
login links will be

Forcing login for all pages using CBehavior

Updated 8 months ago by Rohit SutharTutorials3 comments – viewed 5,207 times – ( +5 / -6 ) – version 1.1
In this wiki I will show how could forcing login for all pages and users must be logged in to access almost all of the site’s content.