Wiki

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

Multiple Databases and Multiple Domains

Created 4 years ago by got 2 doodleTutorials2 comments – viewed 29,971 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,899 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,271 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,558 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,276 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 84,647 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,638 times – ( +20 ) – 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,130 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 thyseusTutorials4 comments – viewed 61,976 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.

XSS safe model content

Created 4 years ago by phirasTutorials2 comments – viewed 7,324 times – ( +4 ) – version 1.1
In this post I am going to describe a solution to make your yii-based web application safe from illegal content injections.