Wiki

Sorted by commentsX
Displaying 521-530 of 782 result(s).

Single PHP entry point with Nginx

Created about a year ago by MadAndHow-tos1 comment – viewed 5,375 times – ( +3 / -1 ) – version all
In this article I will show you how to slightly increase application security, by exploiting the fact that Yii implements the Front Controller Pattern.

How to use default layout for error pages instead of errorXXX views

Created 7 years ago by idle signTutorials1 comment – viewed 25,713 times – ( +4 ) – version 1.1
The issue is covered in "The Definite Guide to Yii" (Error Handling - Handling Errors Using an Action).

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 8,846 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/

Beginner / Intro Tutorials (please add to / update this list)

Created 7 years ago by Ivo RoperTutorials1 comment – viewed 41,463 times – ( +5 ) – version 1.1
This is a central location to collect links to "Getting Started" documentation beyond the blog demo and Creating First Yii Application. Please help the community by adding general, introductory links and descriptions to this page.

PHP built-in server integration

Created about a year ago by HeadshakerHow-tos1 comment – viewed 11,718 times – version 2.0
I was playing around with another PHP framework which I didn't really liked anyway but it had simple and nice integration for PHP built in web server so I decided to write one for Yii (since this is my primary PHP framework)

Simple Ajax popup

Created 3 years ago by Rajith RTutorials1 comment – viewed 36,000 times – ( +11 / -13 ) – version 1.1
Simple Ajax popup view with Ajax link

How to have truly multilingual URLs

Created about a year ago by oligalmaHow-tos1 comment – viewed 4,254 times – version 1.1
We can easily have a multilingual site if we put a "lang" parameter that comes via GET. For example:

Simple Google Maps object for use with ajax maps

Created about a year ago by Chris BackhouseHow-tos1 comment – viewed 6,223 times – ( +1 ) – version 2.0
The Google mapping extension by Dos Amigos (link) is really great but there are difficulties with Google maps when you want to manipulate your map object with Ajax.
tags: googlemap, maps

Using Yii with PHP 5.4 built-in webserver instead of Apache

Created 4 years ago by samdarkHow-tos1 comment – viewed 12,801 times – ( +21 ) – version 1.1
Since version 5.4 PHP can work as a simple webserver so you can develop Yii applications without installing Apache. That's how to use it:

How to create CJui Tabs : Render partial, Ajax tabs, color tabs

Created 3 years ago by InterboyHow-tos1 comment – viewed 22,923 times – ( +5 ) – version 1.1
Hey guys, today we will show you how to make a Yii CJuitabs as example. Some feature cases such as Static tabs, render partial tabs, Ajax tabs, color tabs... You can see our code, there are simple 3 steps to make it work.