Wiki

Articles in category "how-tos", sorted by date (updated)X
Displaying 31-40 of 355 result(s).

MySQL migration environment

Updated 2 years ago by Fabrizio CaldarelliHow-tos0 comments – viewed 6,370 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 2 years ago by stinkytofuHow-tos15 comments – viewed 44,246 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

Cron Jobs in Yii

Updated 2 years ago by Roman SolomatinHow-tos1 comment – viewed 23,724 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 2 years ago by BoazHow-tos6 comments – viewed 45,094 times – ( +47 / -1 ) – version 1.1
Original source code and idea are from: PHP, PDO & Nested Transactions.

Simple Google Maps object for use with ajax maps

Updated 2 years ago by Chris BackhouseHow-tos1 comment – viewed 8,749 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

Execute migration on server/linux using shell

Updated 2 years ago by dariooHow-tos2 comments – viewed 7,260 times – ( -1 ) – version 2.0
It's easy to execute migration locally on XAMPP using cmd, but on server where you script is it's little bit harder.

How to register scripts and css

Updated 2 years ago by oligalmaHow-tos0 comments – viewed 37,849 times – ( -1 ) – version 1.1
First of all, we need to download the jQuery library and store it in the js folder. In this example we are using the version 2.1.3.

How to validate the uniqueness of multiple columns

Updated 2 years ago by oligalmaHow-tos1 comment – viewed 6,512 times – ( +1 / -1 ) – version 1.1
I am going to show you an effective way to validate the uniqueness of multiple columns.

Simple revealing and hiding the password in the password field

Updated 2 years ago by BizleyHow-tos2 comments – viewed 8,069 times – ( +2 / -1 ) – version 2.0
There are numerous usability problems:

Configuring different sessions for backend and frontend in Yii advanced app

Updated 2 years ago by Kartik VHow-tos2 comments – viewed 29,507 times – ( +48 / -1 ) – 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.