Wiki

Displaying 421-430 of 470 result(s).

Encapsulate db and module configurations

Created 3 years ago by ricardogranaTutorials3 comments – viewed 6,674 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,073 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 87,248 times – ( +49 )
The easiest way to update content in AJAX is to use the renderPartial method.
tags: AJAX

By Example: CHtml

Created 3 years ago by jonahTutorials7 comments – viewed 243,880 times – ( +80 )
"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.

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

Created 3 years ago by idle signTutorials1 comment – viewed 10,595 times – ( +4 )
The issue is covered in "The Definite Guide to Yii" (Error Handling - Handling Errors Using an Action).

How to add ajax-loading indicators

Created 3 years ago by schmunkTutorials5 comments – viewed 24,557 times – ( +25 )
With yii you're able to create ajax requests and updates easily. But most times you always want to show a loading indicatior to your user.
tags: AJAX

CSS, JS and image URL shortcut methods

Created 3 years ago by jonahTutorials2 comments – viewed 13,161 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

Behaviors & events

Created 3 years ago by pestaaTutorials7 comments – viewed 48,974 times – ( +39 )
These features provide endless possibilities and unbelievable flexibility, but as current documentation does not give more than a few examples, it might be difficult to fully understand their internals and requirements.

Adding login form to each page

Created 3 years ago by pestaaTutorials5 comments – viewed 18,241 times – ( +3 / -1 )
After adding proper form to the main layout, like:

How to make customizable Db Table prefixes using ActiveRecord

Created 3 years ago by killermonkTutorials0 comments – viewed 7,723 times
Note: As of Yii 1.1.x this functionality is integrated into the framework. If you are using 1.1.x please disregard this article and use the built-in functionality.