Wiki

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

How to use markItUp! on a text field for full WYSIWYG editing

Updated 2 years ago by weiTutorials2 comments – viewed 13,865 times – ( +3 )
This tutorial will show you how to use the Pogostick Yii Extension Library to make an HTML TEXTAREA input element into a full-fledged WYSIWYG editor pretty much with very little code.

Integrating FirePHP

Updated 2 years ago by ricardogranaTutorials4 comments – viewed 7,456 times – ( +7 )
Install Firebug plugin for Firefox from here.

SQL Logging and Profiling in FireBug (Yii 1.1)

Updated 2 years ago by qiangTutorials2 comments – viewed 12,674 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 OrtekoTutorials4 comments – viewed 45,450 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,662 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,780 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 15,587 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 14,182 times – ( +3 )
I found a better solution.

Using CJuiDialog to display flash Messages in Dialogues

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

Simplified meta tags

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