Wiki

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

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

Created 7 years ago by idle signTutorials1 comment – viewed 24,957 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,340 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 6 years ago by Ivo RoperTutorials1 comment – viewed 41,266 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 10,281 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 35,210 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 3,903 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 12 months ago by Chris BackhouseHow-tos1 comment – viewed 5,410 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,486 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,243 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.

How to install Yii 2 advanced on a shared hosting environment

Created 11 months ago by oligalmaHow-tos1 comment – viewed 9,745 times – ( +3 ) – version 2.0
I've read many comments that it's not possible to install Yii 2 advanced on a shared hosting environment, as it has two webroots. This is partially true.