Wiki

Displaying 711-720 of 786 result(s).

Add information to Yii::app()->user by extending CWebUser (better version)

Created 7 years ago by emixTutorials5 comments – viewed 38,222 times – ( +5 / -2 ) – version 1.1
I found a better solution.
tags: Yii, user, rbac

Using CJuiDialog to display flash Messages in Dialogues

Created 7 years ago by thyseusTutorials2 comments – viewed 23,472 times – ( +11 / -1 ) – version 1.1
In order to nicely display flash Messages, create view like this called views/site/dialog.php :

Multiple Databases and Multiple Domains

Created 7 years ago by got 2 doodleTutorials2 comments – viewed 41,517 times – ( +15 / -3 ) – version 1.1
Add these lines in /config/main.php
tags: database

Named scope - Get orphan AR without losing primary key

Created 7 years ago by cmaTutorials0 comments – viewed 6,418 times – ( -1 ) – version 1.1
Sometime, in a many-to-many relation, you need to retrieve AR that aren't linked. In practice, AR with null value in the join table. So you implements a criteria like this :

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

Created 7 years ago by YetiTutorials1 comment – viewed 39,929 times – ( +2 / -2 ) – version 1.1
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.

Add charts / print buttons to your webapp

Created 7 years ago by CoLTTutorials3 comments – viewed 27,378 times – ( +7 / -1 ) – version 1.1
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

Use different environments (development, production, etc) in your app with EASY Environment Class

Created 7 years ago by nancoderTutorials6 comments – viewed 43,013 times – ( +7 / -1 ) – version 1.1
Info: An extension was created based on this wiki page. See: http://www.yiiframework.com/extension/yii-environment/

CJuiDialog and AjaxSubmitButton

Created 7 years ago by tydeas_drTutorials22 comments – viewed 104,365 times – ( +37 / -3 ) – version 1.1
Hello ppl. Even though i have a small experience with yii I though of writing this to help people which want to do something similar.
tags: AJAX

How to install pdo_oci

Created 7 years ago by gallego123How-tos2 comments – viewed 30,038 times – ( +1 / -1 ) – version 1.1
From: http://lacot.org/ and me.
tags: pdo oci php

Display an AJAX tree from your DB using CTreeView

Created 7 years ago by Fran├žois GannazTutorials10 comments – viewed 58,492 times – ( +21 / -1 ) – version 1.1
This example uses a MySQL DB with a table named tree with the fields id, name, and parent_id. The parent_id will be NULL for root elements. The SQL is kept simple (no autoinc, no FK, etc).
tags: AJAX, CTreeView