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

YII2: Create console commands inside a module or extension

Updated 7 days ago by MetaCrawlerTutorials5 comments – viewed 12,324 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 2 months ago by junaidatariHow-tos0 comments – viewed 4,604 times – ( +1 ) – version 2.0
tags: yii2, cdn, assets

Escape from Default's Yii2 Delete Confirm Box

Updated 4 months ago by CozumelHow-tos8 comments – viewed 17,478 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 5 months ago by Said BakrTutorials6 comments – viewed 28,298 times – ( +43 / -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 5 months ago by softarkTutorials3 comments – viewed 30,122 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 5 months ago by CozumelTutorials1 comment – viewed 26,406 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 6 months ago by deacsHow-tos4 comments – viewed 11,588 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 7 months ago by ajithTutorials3 comments – viewed 7,623 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 9 months ago by Kartik VHow-tos2 comments – viewed 19,868 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.

PHP built-in server integration

Updated 10 months ago by HeadshakerHow-tos1 comment – viewed 8,725 times – 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)