Wiki

Articles in category "tutorials", sorted by ratingX
Displaying 181-190 of 249 result(s).

Performance - A Guide For Best Practice

Created 6 years ago by Y!!Tutorials3 comments – viewed 18,167 times – ( +8 / -5 ) – version 1.1
In this guide I will explain best practise regarding performance in MySQL, PHP and of course our loved Yii Framework. Since this is a complex topic, I will start with some basics and then expand this guide from time to time. Since this wiki can become big, you may click on View history - there you can see what changes have been made, so you don't miss anything.
tags: performance

Exporting CGridView results to CSV file

Created 4 years ago by RusAlexTutorials9 comments – viewed 42,447 times – ( +6 / -3 ) – version 1.1
A few days ago, i worked for CGridView exporting functional for my client. He asked me to create a simple exporting to a CSV file a CGridView search results.
tags: cgridview, export, csv

Advanced CTabView using CClipWidget

Created 7 years ago by krillzipTutorials1 comment – viewed 11,992 times – ( +2 ) – version 1.1
Here is a way to dynamically extend tabs based on clips. Probably even more complex things could be done.

Active Record snapshotting (Model data base history)

Created about a year ago by BizleyTutorials3 comments – viewed 4,778 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.

How to log context information to logger (session id, user, ...)

Created 7 years ago by olafureTutorials0 comments – viewed 14,684 times – ( +2 ) – version 1.1
Logging context information (session, user, ...) to the logfile can be of great help tracking down problems with specific users.
tags: Logging

How to display page on fancybox...using CHtml::ajaxlink with yii validation

Created 2 years ago by Ankit ModiTutorials2 comments – viewed 11,230 times – ( +2 ) – version 1.1
1) include the fancybox extesion otherwise fancybox js

How to extend yiic shell commands

Created 6 years ago by qiangTutorials1 comment – viewed 23,195 times – ( +2 ) – version 1.1
Note: this tutorial requires Yii 1.0.8 or later.
tags: yiic

Help pages using Markdown view renderer

Created 2 years ago by nineinchnickTutorials2 comments – viewed 4,530 times – ( +2 )
This tutorial describes how to write your views for help pages using Markdown syntax to be able to generate PDFs from same source files.

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

Created about a year ago by Scott_HuangTutorials1 comment – viewed 7,548 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/

Integrate Zend 2 XML writer into Yii

Created 2 years ago by JonnyTutorials0 comments – viewed 4,400 times – ( +2 ) – version 1.1
By Integrating the Zend 2.* framework into Yii you can quickly and painlessly generate XML outputs from your controllers. This will be helpful to anyone who has never done this before or only done it with Zend 1 as the introduction of namespaces can be strange when you first view them.
tags: zend, XML