Wiki

Articles in category "tutorials", sorted by date (updated)X
Displaying 1-10 of 241 result(s).

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

Updated 16 days ago by Scott_HuangTutorials0 comments – viewed 1,266 times – 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 month ago by samdarkTutorials6 comments – viewed 364,169 times – ( +85 / -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 month ago by realteboTutorials0 comments – viewed 6,532 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 month ago by BizleyTutorials3 comments – viewed 10,921 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 2 months ago by phunsanitTutorials0 comments – viewed 2,164 times – version 2.0
ภาษาไทย YII 2 Widget เปลี่ยนภาษา

Simple way to implement Dynamic Tabular Inputs

Updated 2 months ago by ezekielnoobTutorials1 comment – viewed 3,908 times – ( +4 ) – version all

NetBeans IDE and Yii projects

Updated 4 months ago by marcovtwoutTutorials28 comments – viewed 177,153 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 4 months ago by BizleyTutorials3 comments – viewed 2,548 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 4 months ago by sirin kTutorials1 comment – viewed 10,105 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 4 months ago by sirin kTutorials5 comments – viewed 35,992 times – ( +5 ) – 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