Articles in category "tutorials", sorted by date (updated)X
Displaying 141-150 of 251 result(s).

Auto set model fields values

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

How to setup FCKeditor

Updated 4 years ago by Dark-SunTutorials2 comments – viewed 18,615 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 4 years ago by vibhaJadwaniTutorials3 comments – viewed 52,875 times – ( +10 ) – 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 4 years ago by hairylunchTutorials17 comments – viewed 249,417 times – ( +60 ) – 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 4 years ago by jonahTutorials2 comments – viewed 24,592 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 4 years ago by Yang HeTutorials11 comments – viewed 124,244 times – ( +35 ) – 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.

Using the configuration file, explain what can be configured.

Updated 4 years ago by Yang HeTutorials0 comments – viewed 62,300 times – ( +20 ) – version 1.1
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.

Using search engine and user friendly URLs

Updated 4 years ago by Yang HeTutorials7 comments – viewed 73,974 times – ( +23 / -1 ) – version 1.1
The Definitive Guide introduces the fundamentals of managing URLs in a Yii application. In this tutorial, we introduce a practical technique that can quickly turn your application into using search-engine-friendly URLs.
tags: SEO, URL

Encapsulate db and module configurations

Updated 4 years ago by Yang HeTutorials3 comments – viewed 12,293 times – ( +7 ) – version 1.1
This method was inspirated on the excellent text about different environments available at
tags: module

How to use default layout for error pages instead of errorXXX views

Updated 4 years ago by Yang HeTutorials1 comment – viewed 25,224 times – ( +4 ) – version 1.1
The issue is covered in "The Definite Guide to Yii" (Error Handling - Handling Errors Using an Action).