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 about a month ago by Sherin JoseTutorials0 comments – viewed 4,035 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 about a month ago by Wade ShulerHow-tos0 comments – viewed 3,938 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 2 months ago by Wade ShulerHow-tos0 comments – viewed 2,996 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 3 months ago by MetaCrawlerTutorials5 comments – viewed 14,804 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 5 months ago by junaidatariHow-tos0 comments – viewed 6,807 times – ( +1 ) – version 2.0
Yii2cdn
tags: yii2, cdn, assets

Escape from Default's Yii2 Delete Confirm Box

Updated 7 months ago by CozumelHow-tos8 comments – viewed 19,741 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 8 months ago by Said BakrTutorials6 comments – viewed 31,214 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 8 months ago by softarkTutorials4 comments – viewed 35,421 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 8 months ago by CozumelTutorials1 comment – viewed 31,879 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 10 months ago by deacsHow-tos4 comments – viewed 13,467 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