Wiki

Articles in category "tutorials"X
Displaying 161-170 of 230 result(s).

Using CJuiDialog to display flash Messages in Dialogues

Created 4 years ago by thyseusTutorials1 comment – viewed 17,007 times – ( +11 ) – 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 4 years ago by got 2 doodleTutorials2 comments – viewed 30,224 times – ( +14 / -2 ) – version 1.1
Add these lines in /config/main.php
tags: database

Named scope - Get orphan AR without losing primary key

Created 4 years ago by cmaTutorials0 comments – viewed 4,928 times – 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 4 years ago by YetiTutorials1 comment – viewed 34,432 times – ( +2 / -1 ) – 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 4 years ago by CoLTTutorials3 comments – viewed 20,733 times – ( +7 ) – 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 4 years ago by nancoderTutorials5 comments – viewed 21,545 times – ( +6 ) – 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 4 years ago by tydeas_drTutorials22 comments – viewed 85,231 times – ( +37 / -2 ) – 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

Display an AJAX tree from your DB using CTreeView

Created 4 years ago by Fran├žois GannazTutorials10 comments – viewed 45,955 times – ( +21 ) – 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

Ordering Models by Weight with CJuiSortable

Created 4 years ago by Matt KelliherTutorials2 comments – viewed 10,208 times – ( +10 ) – version 1.1
In this tutorial we will be setting up a content type to be ordered by weight using the JUI Sortable plugin.

Installing and configuring the Yii User Management Module under a fresh skeleton application generated by yiic

Created 4 years ago by thyseusTutorials5 comments – viewed 62,278 times – ( +12 / -4 ) – version 1.1
p.s. latest version of this tutorial is always available unter the docs/ folder of the User Management Module.