Wiki

Sorted by date (updated)X
Displaying 11-20 of 766 result(s).

Multi Data Provider

Updated about a month ago by Sharon LavieTips0 comments – viewed 7,298 times – ( +1 ) – version 1.1
Lately, i needed to deal with the following scenario: read from two databases (db1,db2), and write to a third database (db3).

A simple widget - jump2link

Updated about a month ago by Scott_HuangTutorials0 comments – viewed 3,770 times – version 2.0
Jump 2 Link

How to implement form events

Updated 2 months ago by deacsHow-tos4 comments – viewed 8,675 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

How to install Yii 2 advanced on a shared hosting environment

Updated 2 months ago by oligalmaHow-tos1 comment – viewed 5,288 times – ( +1 ) – version 2.0
I've read many comments that it's not possible to install Yii 2 advanced on a shared hosting environment, as it has two webroots. This is partially true.

MySQL migration environment

Updated 2 months ago by Fabrizio CaldarelliHow-tos0 comments – viewed 3,409 times – version 2.0
It can happen that you work in development environment and you make changes to database tables structures, adding tables, or changing fields.

How to use a Widget as an Action Provider

Updated 2 months ago by stinkytofuHow-tos14 comments – viewed 38,324 times – ( +27 ) – version 1.1
As written on the API docs: An Action Provider Widget is a widget that has declared several actions by using its 'public static function actions()'. After, a Controller can easily import all its declared actions on its 'public function actions()'.
tags: Widgets, CAction

Simple Jui Autocomplete in yii2

Updated 3 months ago by ajithTutorials3 comments – viewed 4,691 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.

Cron Jobs in Yii

Updated 3 months ago by Roman SolomatinHow-tos1 comment – viewed 18,890 times – ( +4 ) – version 1.1
I've gotten Yii running cron jobs, and wanted to explain briefly how I did it.

YII2: Create console commands inside a module or extension

Updated 3 months ago by OldMehdiTutorials1 comment – viewed 8,210 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

How to use nested DB transactions (MySQL 5+, PostgreSQL)

Updated 3 months ago by BoazHow-tos6 comments – viewed 36,466 times – ( +46 ) – version 1.1
Original source code and idea are from: PHP, PDO & Nested Transactions.