Wiki

Sorted by date (updated)X
Displaying 61-70 of 784 result(s).

Multi Data Provider

Updated about a year ago by Sharon LavieTips0 comments – viewed 9,432 times – ( +1 / -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 year ago by Scott_HuangTutorials0 comments – viewed 6,806 times – ( -1 ) – version 2.0
Jump 2 Link

How to implement form events

Updated about a year ago by deacsHow-tos4 comments – viewed 18,222 times – ( +6 / -1 ) – 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

MySQL migration environment

Updated about a year ago by Fabrizio CaldarelliHow-tos0 comments – viewed 5,950 times – ( -1 ) – 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 about a year ago by stinkytofuHow-tos15 comments – viewed 43,206 times – ( +27 / -1 ) – 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 about a year ago by ajithTutorials4 comments – viewed 17,460 times – ( -2 ) – 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 about a year ago by Roman SolomatinHow-tos1 comment – viewed 22,991 times – ( +4 / -1 ) – version 1.1
I've gotten Yii running cron jobs, and wanted to explain briefly how I did it.

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

Updated about a year ago by BoazHow-tos6 comments – viewed 44,082 times – ( +47 / -1 ) – version 1.1
Original source code and idea are from: PHP, PDO & Nested Transactions.

Yii2: Query build for complexity SQL

Updated about a year ago by Scott_HuangTips0 comments – viewed 8,180 times – ( -1 ) – version 2.0
As for complexity SQL query we have two solutions as below, I will discuss #2 in this article.

Simple Google Maps object for use with ajax maps

Updated about a year ago by Chris BackhouseHow-tos1 comment – viewed 8,112 times – ( +1 / -1 ) – version 2.0
The Google mapping extension by Dos Amigos (link) is really great but there are difficulties with Google maps when you want to manipulate your map object with Ajax.
tags: googlemap, maps