Wiki

Articles in category "tutorials", sorted by commentsX
Displaying 111-120 of 255 result(s).

Simple Jui Autocomplete in yii2

Created 2 years ago by ajithTutorials4 comments – viewed 21,753 times – ( -2 ) – version 2.0
In this tutorial i will explain how to use jui auto complete in yii2. The Autocomplete widget enables users to quickly find and select from a pre-populated list of values as they type, leveraging searching and filtering.

How to create/update a model with its related items using Listbox or CheckboxList

Created 2 years ago by softarkTutorials4 comments – viewed 17,828 times – ( +4 / -1 ) – version 2.0
Assume we have many categories and many posts.

How to make bootstrap tabs remain active/selected after navigating to different web pages.

Created about a year ago by emraldTutorials4 comments – viewed 5,650 times – ( -1 ) – version 2.0
Bootstrap tabs gets unselected/inactive when user navigates to other page and comes back. How to make bootstrap tabs remain active/selected after navigating to different web pages.

Simple access control

Created 5 years ago by szfjozsefTutorials4 comments – viewed 38,936 times – ( +4 / -9 ) – version 1.1
For those who feel, the Controller->accessRules() or RBAC (Role-Based Access Control) is too complicated or doesn't want the username(s) to be hard-coded in accessRules(), here is a very simple, easy-to-implement solution.

CSS Naming Conventions

Created 7 years ago by qiangTutorials4 comments – viewed 33,384 times – ( +35 / -2 ) – version 1.1
In this article, we introduce a set of CSS naming conventions that we have applied in several big projects and achieved success. The goal of these naming conventions is to eliminate the possibility of naming conflicts, facilitate debugging and maintenance, and to simplify the naming process.

How to setup CKeditor

Created 5 years ago by Dark-SunTutorials4 comments – viewed 26,651 times – ( +3 / -1 ) – version 1.1
To start with you need to download the latest stable release of CKeditor. Extract the downloaded file and place the ckeditor/ folder in your applications webroot directory. (beside "protected" and "css" and other directories)

Introducción al control de acceso basado en roles (RBAC)

Created 7 years ago by Juan CalvoTutorials4 comments – viewed 55,907 times – ( +17 / -2 ) – version 1.1
Todos los que hemos empezado a utilizar Yii para crear aplicaciones Web, nos hemos dado de bruces cuando hemos intentado poner a funcionar el RBAC (acceso de control basado en roles).

Understanding Autoloading, Helper Classes and Helper Functions

Created 6 years ago by Steve FriedlTutorials4 comments – viewed 103,216 times – ( +29 / -1 ) – version 1.1
Many Yii users ask how to create helper classes and functions, and though there are numerous approaches spread out among the forum and wiki articles, this Tutorial tries to bring it all together in one place.

Save or Update Multiple related model values in one Tabular input form

Created 3 years ago by Kostas Apazidis (KonApaz)Tutorials4 comments – viewed 24,173 times – ( +1 / -8 ) – version 1.1
In this wiki I will show you how to save/update a model with many related model For example: How to set a product to multiple categories only in one post form ?

CRUD operation in Yii framework

Created 3 years ago by Mohammad FareedTutorials4 comments – viewed 16,489 times – ( +1 / -7 ) – version all
Simple Yii Script for performing CRUD operations: