Wiki

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

How to setup CKeditor

Updated 10 months ago by Dark-SunTutorials3 comments – viewed 7,137 times – ( +3 )
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 10 months ago by vibhaJadwaniTutorials11 comments – viewed 29,279 times – ( +29 / -1 )
This is a tutorial for how to add input text-Field, check-box, buttons in CGridView.

Auto set model fields values

Updated 10 months ago by vibhaJadwaniTutorials3 comments – viewed 7,341 times – ( +7 )
This is a tutorial for how to auto set model values without any code.

How to setup FCKeditor

Updated 10 months ago by Dark-SunTutorials2 comments – viewed 10,520 times – ( +3 / -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 10 months ago by vibhaJadwaniTutorials0 comments – viewed 12,882 times – ( +8 )
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 10 months ago by hairylunchTutorials8 comments – viewed 86,911 times – ( +49 )
The easiest way to update content in AJAX is to use the renderPartial method.
tags: AJAX

How to upload a file using a model

Updated 10 months ago by kiran sharmaTutorials21 comments – viewed 173,224 times – ( +68 / -6 )
First declare an attribute to store the file name in the model class (either a form model or an active record model). Also declare a file validation rule for this attribute to ensure a file is uploaded with specific extension name.
tags: File upload

CSS, JS and image URL shortcut methods

Updated 10 months ago by jonahTutorials2 comments – viewed 13,135 times – ( +2 / -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 10 months ago by Yang HeTutorials9 comments – viewed 54,398 times – ( +27 )
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.

Using the configuration file, explain what can be configured.

Updated 10 months ago by Yang HeTutorials0 comments – viewed 26,367 times – ( +18 )
The purpose of this post is to let anyone quickly find how to accomplish a configuration task, and list here all the posibilities of the config.php file and also link to pages that explain how is each thing implemented.