Wiki

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

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

Created 8 years ago by mindehHow-tos6 comments – viewed 44,084 times – ( +47 / -1 ) – version 1.1
Original source code and idea are from: PHP, PDO & Nested Transactions.

Date Picker by examples

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

Implementing cron jobs with Yii

Created 6 years ago by samdarkHow-tos6 comments – viewed 82,932 times – ( +33 / -3 ) – version 1.1
There are two ways to run a cron job:
tags: cron, cli

Publish yii webapp using Git push

Created 5 years ago by rootbearHow-tos6 comments – viewed 12,304 times – ( +2 / -1 ) – 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 6 years ago by TrejderHow-tos6 comments – viewed 64,962 times – ( +4 / -6 ) – 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 3 years ago by Antonio RamirezHow-tos6 comments – viewed 55,661 times – ( +14 / -1 ) – 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 4 years ago by bluyellHow-tos6 comments – viewed 29,465 times – ( +4 / -2 ) – version 1.1
tags: csv, excel, export

Hyphenation of routes in URL management

Created 4 years ago by qiangHow-tos6 comments – viewed 24,773 times – ( +19 / -1 ) – 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 3 years ago by Arockia Johnson SRHow-tos6 comments – viewed 13,681 times – ( +4 / -1 ) – version 1.1
Hi,

Custom Autocomplete Display and Value Submission

Created 6 years ago by Antonio RamirezHow-tos6 comments – viewed 46,959 times – ( +14 / -2 ) – 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?