Wiki

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

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 61,306 times – ( +22 ) – 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 83,778 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 72,822 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 3 years ago by rootbearHow-tos6 comments – viewed 10,701 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,365 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 39,715 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,120 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,658 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 10,874 times – ( +4 ) – version 1.1
Hi,

Custom Autocomplete Display and Value Submission

Created 4 years ago by Antonio RamirezHow-tos6 comments – viewed 42,787 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?