Wiki

Articles in category "tutorials", sorted by date (updated)X
Displaying 21-30 of 253 result(s).

Export query content to excel through any of your controllers, also can set cssClass for header/odd/even rows, auto download

Updated about a year ago by Scott_HuangTutorials1 comment – viewed 8,797 times – ( +2 ) – version 2.0
I have generate one extension base below wiki. You can easily download and use it directly instead of digest below article. http://www.yiiframework.com/extension/yii2-export2excel/

How to upload a file using a model

Updated about a year ago by samdarkTutorials6 comments – viewed 423,867 times – ( +86 / -6 ) – version 1.1
First declare an attribute to store the file name in the model class (either a form model or an active record model). Also declare a file validation rule for this attribute to ensure a file is uploaded with specific extension name.
tags: File upload

Installare Yii 2.0.* usando XAMPP su Windows in versione portabile

Updated about a year ago by realteboTutorials0 comments – viewed 11,577 times – ( +2 ) – version 2.0
Una delle soluzioni che preferisco per studiare un framework PHP è avere a disposizione un webserver portabile, ovvero che non richiede una vera e propria installazione. Questo mi permette spesso di lavorare direttamente su una chiavetta USB, potendo passare da un computer ad un altro di casa, o al lavoro, o dai clienti per le demo, senza alcun problema, avendo sempre con me l'ambiente server completo: server web, server MySQL, interprete php.

Simple Mail Queue

Updated about a year ago by BizleyTutorials3 comments – viewed 15,721 times – ( +10 / -2 ) – version 1.1
This tutorial shows how to create a simple mail queue. It is usually run from a cron job but can be run from the command line too.

YII2 : simple language Switcher Widget

Updated about a year ago by phunsanitTutorials0 comments – viewed 9,785 times – ( +1 ) – version 2.0
ภาษาไทย YII 2 Widget เปลี่ยนภาษา

Simple way to implement Dynamic Tabular Inputs

Updated about a year ago by ezekielnoobTutorials5 comments – viewed 14,934 times – ( +4 ) – version all

NetBeans IDE and Yii projects

Updated about a year ago by marcovtwoutTutorials28 comments – viewed 193,282 times – ( +76 ) – version 1.1
This page is created to supply short directions and general tips for managing a Yii application in NetBeans IDE.

Active Record snapshotting (Model data base history)

Updated about a year ago by BizleyTutorials3 comments – viewed 5,814 times – ( +2 ) – version 1.1
One of the common tasks the web application might be required to perform, especially the app using some kind of a CMS, is to save the history of data changes. Your client for sure will want the answer to this simple question - If I mess this up or delete by accident can we bring it back? Well, DB backup is one thing and quick recovery is another - let's talk about latter one.

Facebook DeAuthorize callback URL and its response data.

Updated about a year ago by sirin kTutorials1 comment – viewed 12,947 times – ( +3 ) – version 1.1
Facebook Deauthorize callback is used to getting notification to the app owner when a user uninstall our app from their fan page or profile.
tags: facebook

Building a REST API in Yii2.0

Updated about a year ago by sirin kTutorials6 comments – viewed 90,606 times – ( +9 ) – version 2.0
This is wiki page is useful if you are trying to build a customized REST API in Yii2.0
tags: yii2.0, REST API