Wiki

Articles in category "tutorials"X
Displaying 21-30 of 254 result(s).

RBAC Super Simple with Admin and User

Created 2 years ago by evercodeTutorials10 comments – viewed 55,030 times – ( +16 / -3 ) – version 2.0
One of the common requests I see in the forum is how to implement RBAC. While you can implement Yii 2's built-in RBAC, that might be too much for developers who are just starting with Yii 2 or have simpler needs. Sometimes you are looking for a fast solution and just want two flavors, user and admin. And even if you will eventually need more, you can use these methods as a starting point for developing your own features or move on to Yii 2's RBAC.

Simple Way to Upload and Save File

Created 2 years ago by Misbahul D MunirTutorials0 comments – viewed 17,411 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

Created 2 years ago by Anas AbuDayahTutorials1 comment – viewed 43,909 times – ( +8 ) – version 2.0
Imagine adds most common image functions and also acts as a wrapper to Imagine image manipulation library.

How to display images in CJuiAutoComplete without extenstions

Created 2 years ago by AsmaaTutorials0 comments – viewed 5,250 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:

Building a REST API in Yii2.0

Created 2 years ago by sirin kTutorials6 comments – viewed 100,538 times – ( +9 ) – version 2.0
This is wiki page is useful if you are trying to build a customized REST API in Yii2.0
tags: yii2.0, REST API

Translation from .txt file

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

How to display Dependent drop-down value using ajax call with dynamically

Created 2 years ago by Ankit ModiTutorials4 comments – viewed 30,502 times – ( +3 / -2 ) – version all
Hi Friends, In this tutorial I write a code display dependent drop-down value using ajax call.

Forcing login for all pages using CBehavior

Created 2 years ago by Rohit SutharTutorials3 comments – viewed 9,423 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.

Manage Email Template content from database

Created 2 years ago by Ankit ModiTutorials2 comments – viewed 7,518 times – ( -4 ) – version all
Hi Friends,

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

Created 2 years ago by Rohit SutharTutorials8 comments – viewed 16,169 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.