Wiki

Articles tagged with "yii2", sorted by date (updated)X
Displaying 1-10 of 77 result(s).

Write & use a custom Component in Yii2.0

Updated 28 days ago by sirin kHow-tos5 comments – viewed 63,126 times – ( +18 / -1 ) – version 2.0
This is a simple example in Yii2.0 to understand how you can write a custom component and use it inside your app.(basic template)

How to make UrlManager createAbsoluteUrl work with sub-domains

Updated about a month ago by Wade ShulerHow-tos0 comments – viewed 1,968 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)

Updated 6 months ago by Amjad KhanTutorials2 comments – viewed 9,477 times – ( +4 / -1 ) – version 2.0
Following is the table structure

Installation guide: Yii-2 advanced template with RBAC system

Updated 9 months ago by Sherin JoseTutorials1 comment – viewed 27,584 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

Updated 9 months ago by Wade ShulerHow-tos0 comments – viewed 8,035 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

Updated 10 months ago by Wade ShulerHow-tos0 comments – viewed 4,987 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.

YII2: Create console commands inside a module or extension

Updated 11 months ago by MetaCrawlerTutorials5 comments – viewed 20,119 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

Yii2cdn Component

Updated about a year ago by junaidatariHow-tos0 comments – viewed 9,543 times – ( +1 / -1 ) – version 2.0
Yii2cdn
tags: yii2, cdn, assets

Escape from Default's Yii2 Delete Confirm Box

Updated about a year ago by CozumelHow-tos8 comments – viewed 24,125 times – ( +9 / -2 ) – version 2.0
If you started playing with Yii2's new GridView, you will soon realize that some things have improved quite a lot, but I am sure its going to be a bit confusing at first glance when you try to modify certain javascript behaviors like for example, its delete confirmation dialog box.

Handling tabular data loading and validation in Yii 2

Updated about a year ago by Said BakrTutorials7 comments – viewed 37,224 times – ( +44 / -7 ) – version 2.0
How do you read and handle tabular data submission via form in Yii framework 2.0? Sometimes we want to collect user input in a batch mode. That is, the user can enter the information for multiple model instances and submit them all at once. We call this tabular input because the input fields are often presented in an HTML table.