Wiki

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

How to make UrlManager createAbsoluteUrl work with sub-domains

Created 4 months ago by Wade ShulerHow-tos1 comment – viewed 4,894 times – ( +1 / -1 ) – version 2.0
Upon creating my Yii2 Members System, I have ran into a few snags along the way that forced me to extend and bend Yii2 to my will.

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

Created 9 months ago by Amjad KhanTutorials3 comments – viewed 14,832 times – ( +4 / -1 ) – version 2.0
Following is the table structure

Installation guide: Yii-2 advanced template with RBAC system

Created about a year ago by Sherin JoseTutorials3 comments – viewed 35,902 times – ( +13 / -3 ) – 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 about a year ago by Wade ShulerHow-tos0 comments – viewed 8,862 times – ( +3 / -1 ) – 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 about a year ago by Wade ShulerHow-tos0 comments – viewed 5,672 times – ( -1 ) – 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 about a year ago by junaidatariHow-tos0 comments – viewed 9,987 times – ( +1 / -1 ) – version 2.0
Yii2cdn
tags: yii2, cdn, assets

Simple Jui Autocomplete in yii2

Created about a year ago by ajithTutorials4 comments – viewed 17,492 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.

YII2: Create console commands inside a module or extension

Created 2 years ago by MetaCrawlerTutorials5 comments – viewed 21,519 times – ( +4 / -1 ) – 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 2 years ago by HeadshakerHow-tos1 comment – viewed 15,989 times – ( -1 ) – 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 2 years ago by Wade ShulerHow-tos2 comments – viewed 56,504 times – ( +17 / -2 ) – 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!