Wiki

Articles in category "tutorials"X
Displaying 121-130 of 174 result(s).

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

Created 3 years ago by atrandafirTutorials9 comments – viewed 56,745 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.

Created 3 years ago by atrandafirTutorials0 comments – viewed 27,485 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.

SQL Logging and Profiling in FireBug (Yii 1.1)

Created 3 years ago by mindplayTutorials2 comments – viewed 12,663 times – ( +6 )
During development, it's often very handy to have SQL logging and profiling.
tags: Logging

I18n subdomains and url-rules

Created 3 years ago by Y!!Tutorials5 comments – viewed 16,088 times – ( +7 )
This guide is for more or less advanced users. If you just started with Yii or didn't worked with any web-framework before, you may should come back later :-)
tags: i18n, URL

Simplified meta tags

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

Using search engine and user friendly URLs

Created 3 years ago by qiangTutorials6 comments – viewed 40,073 times – ( +18 )
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

Created 3 years ago by ricardogranaTutorials3 comments – viewed 6,813 times – ( +6 )
This method was inspirated on the excellent text about different environments available at http://www.yiiframework.com/doc/cookbook/32/
tags: module

Beginner / Intro Tutorials (please add to / update this list)

Created 3 years ago by Ivo RoperTutorials0 comments – viewed 29,682 times – ( +4 )
This is a central location to collect links to "Getting Started" documentation beyond the blog demo and Creating First Yii Application. Please help the community by adding general, introductory links and descriptions to this page.

Update content in AJAX with renderPartial

Created 3 years ago by BurzumTutorials8 comments – viewed 91,070 times – ( +50 )
The easiest way to update content in AJAX is to use the renderPartial method.
tags: AJAX

By Example: CHtml

Created 3 years ago by jonahTutorials8 comments – viewed 255,080 times – ( +84 )
"By Example" cookbook pages will provide coding examples for many of the commonly used classes within Yii. We will try to provide as many usage examples as possible for keep these pages as helpful as possible.