Wiki

Displaying 431-440 of 482 result(s).

Simplified meta tags

Created 3 years ago by Y!!Tutorials1 comment – viewed 19,476 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,139 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,822 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,701 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,338 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,700 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.

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

Created 3 years ago by idle signTutorials1 comment – viewed 10,913 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 25,498 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,644 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 51,134 times – ( +40 )
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.