Wiki

Articles in category "how-tos", sorted by commentsX
Displaying 81-90 of 352 result(s).

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

Created 7 years ago by mindehHow-tos6 comments – viewed 39,724 times – ( +46 ) – version 1.1
Original source code and idea are from: PHP, PDO & Nested Transactions.

Date Picker by examples

Created 2 years ago by InterboyHow-tos6 comments – viewed 84,789 times – ( +10 / -2 ) – version 1.1
CJuiDatePicker displays a datepicker. CJuiDatePicker encapsulates the JUI datepicker plugin.

Implementing cron jobs with Yii

Created 5 years ago by samdarkHow-tos6 comments – viewed 73,500 times – ( +32 / -2 ) – version 1.1
There are two ways to run a cron job:
tags: cron, cli

Publish yii webapp using Git push

Created 4 years ago by rootbearHow-tos6 comments – viewed 10,786 times – ( +2 ) – version 1.1
I did not invent this instructions, I read it somewhere and re-organized in my way as I was trying and it works for me;
tags: git

Using setFlash for displaying various kind of messages

Created 5 years ago by TrejderHow-tos6 comments – viewed 58,782 times – ( +4 / -5 ) – version 1.1
In this short how-to I will show how to customize setFlash() to display messages (flashes) styled to be success confirmation, error report or notice information. And how to achieve displaying errors in other way.
tags: flash, error, message

How to use GridView with AJAX

Created 2 years ago by Antonio RamirezHow-tos6 comments – viewed 40,908 times – ( +14 ) – version 2.0
With the adoption of PJax on Yii2 things  have change quite a bit with GridView when it comes to work with them in AJAX mode. It will probably be confusing at the beginning, but then you will soon realize how powerful the new approach is.
tags: yii2, pjax, widget

simple CSV export

Created 3 years ago by bluyellHow-tos6 comments – viewed 24,493 times – ( +4 / -1 ) – version 1.1
tags: csv, excel, export

Hyphenation of routes in URL management

Created 3 years ago by qiangHow-tos6 comments – viewed 21,888 times – ( +19 ) – version 1.1
In this article, we introduce an approach that allows automatic hyphenation of the route part in URLs.
tags: URL

Bootstrap Yii cGridView add popup button

Created 2 years ago by Arockia JohnsonHow-tos6 comments – viewed 11,084 times – ( +4 ) – version 1.1
Hi,

Custom Autocomplete Display and Value Submission

Created 5 years ago by Antonio RamirezHow-tos6 comments – viewed 43,097 times – ( +14 / -1 ) – version 1.1
How many of us has wondered how to create an autocomplete that will display the names of a related models but do require the id of that selected name to be submitted for model creation/update?