Wiki

Articles in category "tutorials", sorted by date (updated)X
Displaying 121-130 of 236 result(s).

Using CAutoComplete to display one value and submit another

Updated 2 years ago by mohammad sharif ahrariTutorials5 comments – viewed 44,406 times – ( +8 / -3 ) – version 1.1
Note: CAutoComplete is deprecated since Yii 1.1.3. Consider using CJuiAutoComplete.

Serve jQuery and jQuery-UI from Google's CDN

Updated 2 years ago by fadTutorials15 comments – viewed 22,590 times – ( +14 / -1 ) – version 1.1
There are good reasons to use Google's Content Delivery Network (CDN) to serve jQuery and jQuery UI on your site:

How to setup CKeditor

Updated 2 years ago by Dark-SunTutorials4 comments – viewed 17,118 times – ( +3 ) – version 1.1
To start with you need to download the latest stable release of CKeditor. Extract the downloaded file and place the ckeditor/ folder in your applications webroot directory. (beside "protected" and "css" and other directories)

Working with CGridView in Admin Panel

Updated 2 years ago by vibhaJadwaniTutorials18 comments – viewed 62,855 times – ( +43 / -1 ) – version 1.1
This is a tutorial for how to add input text-Field, check-box, buttons in CGridView.

Auto set model fields values

Updated 2 years ago by vibhaJadwaniTutorials3 comments – viewed 15,172 times – ( +9 ) – version 1.1
This is a tutorial for how to auto set model values without any code.

How to setup FCKeditor

Updated 2 years ago by Dark-SunTutorials2 comments – viewed 15,758 times – ( +3 / -1 ) – version 1.1
To start with you need to download the latest stable release of FCKeditor. Extract the downloaded file and place the fckeditor/ folder in your applications webroot directory.

Working with radiobutton list

Updated 2 years ago by vibhaJadwaniTutorials3 comments – viewed 35,969 times – ( +9 ) – version 1.1
This is a tutorial to work with radioButtonList which will handle enum datatype. Form design and validation both are detailed here.

Update content in AJAX with renderPartial

Updated 2 years ago by hairylunchTutorials15 comments – viewed 192,092 times – ( +58 ) – version 1.1
The easiest way to update content in AJAX is to use the renderPartial method.
tags: AJAX

CSS, JS and image URL shortcut methods

Updated 2 years ago by jonahTutorials2 comments – viewed 21,012 times – ( +2 / -1 ) – version 1.1
Below I have created an Html helper with methods to help me locate directories of my assets dynamically. Such assets may include CSS, JavaScript and images.
tags: URL

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

Updated 2 years ago by Yang HeTutorials11 comments – viewed 102,104 times – ( +34 ) – version 1.1
This little tutorial explains a way how you can retrieve more parameters from Yii::app()->user by adding a component that extends CWebUser and retrieves the user information from database table named User.