Wiki

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

Using your own forked version of extensions with composer

Updated about a year ago by Kartik VTutorials3 comments – viewed 9,087 times – ( +39 / -4 ) – version 2.0
So you want to use a fork of any existing vendor extension with your Yii 2 install and use the fork, instead of original source. This does not need you to push any update or register your package on packagist.org. You are recommended to follow the approach below:

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 9,119 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 426,822 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 12,062 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 16,016 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 10,351 times – ( +1 ) – version 2.0
ภาษาไทย YII 2 Widget เปลี่ยนภาษา

Simple way to implement Dynamic Tabular Inputs

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

NetBeans IDE and Yii projects

Updated about a year ago by marcovtwoutTutorials28 comments – viewed 193,998 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 6,163 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 13,150 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