Wiki

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

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

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

Render Form in popup via AJAX (Create and Update) with ajax validation & Also load any page via ajax Yii 2.0 (2.3)

Created about a year ago by skwordenHow-tos6 comments – viewed 52,351 times – ( +20 ) – version 2.0
There are a few issues with the other solutions I originally used that I found from other wikis. I address the issues I had in this much simpler and shorter way. I am also going to explain what is going into way more detail than others to help people understand what's going on.

Date Picker by examples

Created 2 years ago by InterboyHow-tos6 comments – viewed 81,083 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 71,163 times – ( +31 / -2 ) – version 1.1
There are two ways to run a cron job:
tags: cron, cli

Publish yii webapp using Git push

Created 3 years ago by rootbearHow-tos6 comments – viewed 10,488 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 57,432 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 37,094 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 23,336 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,138 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 about a year ago by Arockia JohnsonHow-tos6 comments – viewed 10,401 times – ( +4 ) – version 1.1
Hi,