Wiki

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

Installation guide: Yii-2 advanced template with RBAC system

Updated 9 days ago by Sherin JoseTutorials0 comments – viewed 1,822 times – ( +8 ) – 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 19 days ago by Wade ShulerHow-tos0 comments – viewed 2,520 times – ( +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 about a month ago by Wade ShulerHow-tos0 comments – viewed 2,374 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.

YII2: Create console commands inside a module or extension

Updated 2 months ago by MetaCrawlerTutorials5 comments – viewed 14,110 times – ( +3 ) – 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 4 months ago by junaidatariHow-tos0 comments – viewed 6,388 times – ( +1 ) – version 2.0
Yii2cdn
tags: yii2, cdn, assets

Escape from Default's Yii2 Delete Confirm Box

Updated 6 months ago by CozumelHow-tos8 comments – viewed 18,983 times – ( +9 / -1 ) – 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 7 months ago by Said BakrTutorials6 comments – viewed 30,328 times – ( +44 / -6 ) – 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.

Drills : Search by a HAS_MANY relation in Yii 2.0

Updated 7 months ago by softarkTutorials4 comments – viewed 33,723 times – ( +19 ) – version 2.0
This article tries to describe the practical techniques of searching by a HAS_MANY relation using ActiveRecord of Yii 2.0.

How to use imagine ( crop, thumb, effects for images ) on Yii2

Updated 7 months ago by CozumelTutorials1 comment – viewed 30,280 times – ( +8 ) – version 2.0
Imagine adds most common image functions and also acts as a wrapper to Imagine image manipulation library.

How to implement form events

Updated 9 months ago by deacsHow-tos4 comments – viewed 12,875 times – ( +6 ) – version 2.0
You have that, when a product is on development they can change its API anytime. This change is quite important though, its related on how to set the events of your form, for example, the useful beforeSubmit.
tags: yii2, forms, how to