Wiki

Displaying 421-430 of 468 result(s).

Update content in AJAX with renderPartial

Created 3 years ago by BurzumTutorials8 comments – viewed 86,624 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 242,256 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,543 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,461 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,095 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,667 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,010 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,701 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.

How to extend yiic shell commands

Created 3 years ago by qiangTutorials1 comment – viewed 13,269 times – ( +1 )
Note: this tutorial requires Yii 1.0.8 or later.
tags: yiic

Enabling Gzip

Created 3 years ago by pestaaTutorials5 comments – viewed 11,318 times – ( +5 / -1 )
Adding HTTP compression to your application could never have been easier!