Wiki

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

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

Updated 20 days ago by Wade ShulerHow-tos0 comments – viewed 1,333 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 about a month ago by MetaCrawlerTutorials5 comments – viewed 13,158 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 3 months ago by junaidatariHow-tos0 comments – viewed 5,467 times – ( +1 ) – version 2.0
Yii2cdn
tags: yii2, cdn, assets

Escape from Default's Yii2 Delete Confirm Box

Updated 5 months ago by CozumelHow-tos8 comments – viewed 18,228 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 6 months ago by Said BakrTutorials6 comments – viewed 29,196 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 6 months ago by softarkTutorials4 comments – viewed 31,774 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 6 months ago by CozumelTutorials1 comment – viewed 28,095 times – ( +7 ) – 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 7 months ago by deacsHow-tos4 comments – viewed 12,187 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

Simple Jui Autocomplete in yii2

Updated 8 months ago by ajithTutorials3 comments – viewed 8,277 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.

Configuring different sessions for backend and frontend in Yii advanced app

Updated 10 months ago by Kartik VHow-tos2 comments – viewed 20,531 times – ( +46 ) – version 2.0
After you have setup your Yii2 advanced application, you now have setup your user authentication for both frontend and backend. However, if you have first logged into frontend, and try to access backend from the same client machine, you see no login screen, but find yourself automatically logged in.