Wiki

Articles tagged with "yii2"X
Displaying 1-10 of 76 result(s).

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

Created 27 days ago by Amjad KhanTutorials0 comments – viewed 2,485 times – ( +1 ) – version 2.0
Following is the table structure

Installation guide: Yii-2 advanced template with RBAC system

Created 3 months ago by Sherin JoseTutorials0 comments – viewed 10,009 times – ( +10 ) – version 2.0
Welcome, all of you !
tags: install, yii2, rbac

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

Created 3 months ago by Wade ShulerHow-tos0 comments – viewed 6,110 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.

How To: Custom Client Validation On Checkbox Toggle and Optional Input Field

Created 5 months ago by Wade ShulerHow-tos0 comments – viewed 3,748 times – version 2.0
I just chased my tail around for a bit today. I got lost with setting the status of all inputs, and banging my head on why the "validate" function just wasn't working.

Yii2cdn Component

Created 8 months ago by junaidatariHow-tos0 comments – viewed 7,914 times – ( +1 ) – version 2.0
Yii2cdn
tags: yii2, cdn, assets

Simple Jui Autocomplete in yii2

Created about a year ago by ajithTutorials3 comments – viewed 11,653 times – ( -1 ) – 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.

YII2: Create console commands inside a module or extension

Created about a year ago by MetaCrawlerTutorials5 comments – viewed 16,509 times – ( +4 ) – version 2.0
Here is a small guide how to get console commands running inside modules & extensions. For this guide I used a fresh yii2 basic application template.
tags: yii2, tutorial, config

PHP built-in server integration

Created about a year ago by HeadshakerHow-tos1 comment – viewed 11,602 times – version 2.0
I was playing around with another PHP framework which I didn't really liked anyway but it had simple and nice integration for PHP built in web server so I decided to write one for Yii (since this is my primary PHP framework)

[Guide] How to actually separate Frontend (User) and Backend (Admin) on Yii2 Advanced

Created about a year ago by Wade ShulerHow-tos2 comments – viewed 42,639 times – ( +17 / -1 ) – version 2.0
I am writing this guide because I struggled to find a resource that included ALL of the necessary steps to completely separate the frontend from the backend. After reading guides like Configuring different sessions for backend and frontend in yii-advanced-app and yii2 configuring different sessions for backend and frontend in yii advanced application template, there are still steps missing. It is funny how the 2nd one says it is an extension of the first one's article. So I guess, my wiki guide here is yet a 3rd and more complete extension of both of them. I also found a few StackOverflow questions and blog posts regarding this topic. None of them fully worked, and must be missing some magic sauce!

How to create yii2 extension and push to github and register into packagist to allow end user install from composer

Created about a year ago by Scott_HuangHow-tos1 comment – viewed 11,153 times – ( +4 ) – version 2.0
1. Create Extension in yii2.