Wiki

Sorted by date (updated)X
Displaying 11-20 of 784 result(s).

Yii2 GridView Sorting and Searching with a Junction Table Column(Many to Many Relationship)

Updated 4 months ago by Amjad KhanTutorials2 comments – viewed 6,706 times – ( +4 ) – version 2.0
Following is the table structure

How to customize your grid columns visible and order by user themselves

Updated 5 months ago by Scott_HuangHow-tos0 comments – viewed 3,624 times – ( +1 ) – version 1.1
Cusomized your grid columns by user themselves, allow user to hide/show columns or re-order the columns sequences.

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

Updated 5 months ago by emraldTutorials4 comments – viewed 3,763 times – 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.

"safe" and "unsafe" Model validators (massive assignments)

Updated 6 months ago by brianvuHow-tos4 comments – viewed 20,805 times – ( +4 / -6 ) – version 1.1
Ok, it is a little bit difficult to full understanding the unsafe validator.

How to create a criteria condition for a multiple value text search i.e a "LIKE IN"

Updated 6 months ago by tophHow-tos2 comments – viewed 34,289 times – ( +1 / -1 ) – version 1.1
This is a shortcut for adding a text search for multiple values i.e.

Installation guide: Yii-2 advanced template with RBAC system

Updated 7 months ago by Sherin JoseTutorials1 comment – viewed 21,362 times – ( +13 / -2 ) – version 2.0
Welcome, all of you !
tags: install, yii2, rbac

A universal model attribute for its synthetic representation

Updated 7 months ago by Alexandre RodichevskiTips2 comments – viewed 3,485 times – version 2.0
It is convenient to use the same identification attribute, say info, in all of the active records of your application. It should be a virtual read-only attribute defined by a getter method, its label being the model name.

Yii2: How to create/develop a new extension using Composer locally without version control or Git

Updated 7 months ago by Wade ShulerHow-tos0 comments – viewed 7,466 times – ( +2 ) – version 2.0
Using a version control system, like Git, is nice. However, when building an extension from scratch and loading it via Composer, it adds a lot of pain in the butt steps. You have to commit your changes, update composer to pull them over, then notice there is an error, fix, commit, update. repeat.. I don't want all my baby steps under Git. Sure, I could edit my commit history, but c'mon. Just let me code! I will put it under version control once I get a baseline created. This guide will show you how to setup your composer.json to load a local directory (everything inside, live). You make a change, save the file, refresh the page, boom.

Yii Related Sites

Updated 7 months ago by Ahmed KhanOthers4 comments – viewed 50,934 times – ( +34 ) – version 1.1
This is a list of blogs, off-site tutorials and other resources about Yii.

Boost composer-asset-plugin update speed

Updated 8 months ago by samdarkTips5 comments – viewed 6,506 times – ( +5 ) – version 2.0
If you're using a lot of bower and npm assets with Yii 2.0 you might encounter long running composer update tasks.