Wiki

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

CSS Naming Conventions

Created 4 years ago by qiangTutorials4 comments – viewed 27,685 times – ( +35 / -1 ) – version 1.1
In this article, we introduce a set of CSS naming conventions that we have applied in several big projects and achieved success. The goal of these naming conventions is to eliminate the possibility of naming conflicts, facilitate debugging and maintenance, and to simplify the naming process.

Integrating FirePHP

Created 4 years ago by ricardogranaTutorials5 comments – viewed 10,996 times – ( +8 ) – version 1.1
Install Firebug plugin for Firefox from here.

NetBeans IDE and Yii projects

Created 4 years ago by marcovtwoutTutorials28 comments – viewed 168,463 times – ( +76 ) – version 1.1
This page is created to supply short directions and general tips for managing a Yii application in NetBeans IDE.

How to add an analogue clock widget on your skeleton application

Created 4 years ago by mocapapaTutorials0 comments – viewed 6,499 times – ( +1 ) – version 1.1
Followings are the simple steps to put an analogue clock widget on your skeleton application that is just generated by yiic.

List with multiple checkbox

Created 4 years ago by matkazTutorials3 comments – viewed 25,754 times – ( +4 ) – version 1.1
It is a common case coders often come accross. For example the purpose of these checkbox is to mark records to be deleted

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

Created 4 years ago by emixTutorials5 comments – viewed 26,512 times – ( +5 / -1 ) – version 1.1
I found a better solution.
tags: Yii, user, rbac

Using CJuiDialog to display flash Messages in Dialogues

Created 4 years ago by thyseusTutorials2 comments – viewed 17,813 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 31,610 times – ( +15 / -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 5,077 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 35,161 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.