Wiki

Sorted by commentsX
Displaying 291-300 of 470 result(s).

Using Pear Mail Mail_Mime and Mail_Queue

Created 2 years ago by LorenHow-tos2 comments – viewed 5,695 times – ( +7 )
Create a component (/protected/components/PearMail.php) Edit this as needed based on where you put the files from PEAR.

How to create a wrapper for a js library

Created about a year ago by zaccariaHow-tos2 comments – viewed 7,621 times – ( +16 / -1 )
This wiki will explain how to include a javascript library in a widget.
tags: wrapper, js, uploadify

Integrating HybridAuth directly into Yii without an extension

Created 2 months ago by biz devHow-tos2 comments – viewed 3,909 times – ( +8 )
This article tries to explain the steps required in integrating the HybridAuth into Yii directly, without using an extension.

Adding a date range search for CGridView the easy way

Created 2 months ago by mikewalenTips2 comments – viewed 3,788 times – ( +6 )
After a lot of research, everything I found on adding date range searching to a CGridView advanced search form seemed to involve adding two new public variables (e.g. $date_from, $date_to), 'safe' rules for the new variables, and a rather chunky if/elseif/else check in the search() method. This probably isn't a hassle for most, but because many of the tables in my database contain two or three and sometimes four date columns (e.g. date_created, date_modified, date_deleted etc.), it meant I was having to add up to eight public variables, the corresponding safe rules, and modifying the search() criteria for each date attribute. So, I set about creating a better way and I thought I'd share my work with the community.

Using MBMenu and Rights to automatically create menu item for your modules

Created about a year ago by dinhtrungTips2 comments – viewed 8,180 times – ( +1 / -1 )
Using Rights generator component, we can easily create a dynamic menu, in which we scan every modules' controllers, to access the index page of them.

Yii for beginners 2

Created 2 months ago by rackyczTutorials2 comments – viewed 9,835 times – ( +20 )
Hi :-) Is that you again? Welcome !! :-)
tags: Created

Multilanguage web site controlling by get request and database allowed languages

Created about a year ago by Igor IvanovicTutorials2 comments – viewed 12,063 times – ( +6 )
First, you have to have create database table for default language and allowed languages.

ISA hierarchy of tables inside a database and how to implement a single form

Created about a year ago by pligorHow-tos2 comments – viewed 5,792 times – ( +1 )
Please consider the following Dear software engineers imagine I have a simple ISA hierarchy: parent A with children B and C. So let's say we have the corresponding tables named "a", "b", "c" and (created with the help of the gii model creator) the classes A, B, C The following is a screenshot from MySQL workbench:

adding class and links to Ctreeview node

Created about a year ago by bingjie2680Tips2 comments – viewed 7,575 times – ( +4 )
This article will show you how to add links and class to each node in ctreeview. so you can attach events in js by obtaining handler on anchor or class.
tags: ctreeview, link, class