Wiki

Sorted by commentsX
Displaying 321-330 of 470 result(s).

How to add a named scope to ActiveRecords with a behavior

Created 4 years ago by MikeTutorials1 comment – viewed 9,522 times – ( +3 )
Since Yii 1.0.5 you can use named scopes with ActiveRecords. They are a great help in simplifying your query calls.

How To Connect With Twitter From Yii

Created 3 years ago by lucifuriousTutorials1 comment – viewed 14,544 times – ( +3 / -1 )
Here is a quick tutorial for connecting Yii with Twitter using the Pogostick Yii Extensions Library.
tags: twitter

Database driven Cmenu

Created about a year ago by twisted1919How-tos1 comment – viewed 10,723 times – ( +12 )
This is a simple example that will give you a base for designing a database driven menu system that will use CMenu to be rendered.

How to extend yiic shell commands

Created 3 years ago by qiangTutorials1 comment – viewed 13,352 times – ( +1 )
Note: this tutorial requires Yii 1.0.8 or later.
tags: yiic

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

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

Simplified meta tags

Created 3 years ago by Y!!Tutorials1 comment – viewed 18,829 times – ( +13 )
If we want to set meta tags on a per page (controller-action) basis, we may use the clientScript application component.

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

Created about a year ago by samdarkHow-tos1 comment – viewed 6,818 times – ( +20 )
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 install pdo_oci

Created 3 years ago by Horacio SeguraHow-tos1 comment – viewed 12,399 times – ( +1 )
From: http://lacot.org/ and me.
tags: pdo oci php

Add charts / print buttons to your webapp

Created 2 years ago by CoLTTutorials1 comment – viewed 15,036 times – ( +7 )
In this article you will find Yii framework extensions enabling you to add various charts/print out buttons etc. to your webapp.
tags: chart, print, flash, excel, csv, pdf, xls

Installing WAMP - Apache, MySQL, & PHP on Windows 7

Created 2 years ago by YetiTutorials1 comment – viewed 27,636 times – ( +2 )
Installing WAMP on XP was pretty easy; W7 is not so trivial. It's not difficult once you know, but it took me best part of a day to figure out and required gleaning various bits of information from around the web; this tutorial brings it all together in one place to (hopefully) make other peoples lives that bit easier. It does assume that you are reasonably happy configuring Apache, PHP, and MySQL and mainly deals with the W7 quirks.