Wiki

Articles in category "tutorials", sorted by date (updated)X
Displaying 161-170 of 172 result(s).

SQL Logging and Profiling in FireBug (Yii 1.1)

Updated 2 years ago by qiangTutorials2 comments – viewed 12,248 times – ( +6 )
During development, it's often very handy to have SQL logging and profiling.
tags: Logging

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

Updated 2 years ago by OrtekoTutorials3 comments – viewed 43,554 times – ( +12 / -2 )
p.s. latest version of this tutorial is always available unter the docs/ folder of the User Management Module.

i18n for your model in just 1 line

Updated 2 years ago by OrtekoTutorials0 comments – viewed 8,499 times – ( +12 )
A simple trick to get the localized version of a model field is to add this little method to your models.
tags: i18n

How to add an analogue clock widget on your skeleton application

Updated 2 years ago by mocapapaTutorials0 comments – viewed 4,653 times – ( +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

Updated 2 years ago by matkazTutorials3 comments – viewed 14,963 times – ( +4 )
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)

Updated 2 years ago by emixTutorials3 comments – viewed 13,549 times – ( +3 )
I found a better solution.

Using CJuiDialog to display flash Messages in Dialogues

Updated 2 years ago by thyseusTutorials1 comment – viewed 11,269 times – ( +10 )
In order to nicely display flash Messages, create view like this called views/site/dialog.php :

Simplified meta tags

Updated 2 years ago by Y!!Tutorials1 comment – viewed 18,629 times – ( +13 )
If we want to set meta tags on a per page (controller-action) basis, we may use the clientScript application component.

XSS safe model content

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

How to make customizable Db Table prefixes using ActiveRecord

Updated 3 years ago by killermonkTutorials0 comments – viewed 7,687 times
Note: As of Yii 1.1.x this functionality is integrated into the framework. If you are using 1.1.x please disregard this article and use the built-in functionality.