Wiki

Articles in category "tutorials"X
Displaying 161-170 of 203 result(s).

How to add ajax-loading indicators

Created 4 years ago by schmunkTutorials5 comments – viewed 37,216 times – ( +26 ) – version 1.1
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 4 years ago by jonahTutorials2 comments – viewed 18,558 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

Behaviors & events

Created 4 years ago by pestaaTutorials9 comments – viewed 76,473 times – ( +49 ) – version 1.1
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 4 years ago by pestaaTutorials5 comments – viewed 29,776 times – ( +3 / -2 ) – version 1.1
After adding proper form to the main layout, like:

How to make customizable Db Table prefixes using ActiveRecord

Created 4 years ago by killermonkTutorials0 comments – viewed 10,220 times – version 1.1
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 4 years ago by qiangTutorials1 comment – viewed 17,512 times – ( +2 ) – version 1.1
Note: this tutorial requires Yii 1.0.8 or later.
tags: yiic

Enabling Gzip

Created 4 years ago by pestaaTutorials5 comments – viewed 15,738 times – ( +5 / -1 ) – version 1.1
Adding HTTP compression to your application could never have been easier!

Integrating with other frameworks

Created 4 years ago by KJediTutorials4 comments – viewed 13,916 times – ( +5 / -1 ) – version 1.1
When you need to integrate with other frameworks (e.g. Zend Framework), you have to follow these steps:

How to use markItUp! on a text field for full WYSIWYG editing

Created 4 years ago by lucifuriousTutorials2 comments – viewed 18,547 times – ( +3 ) – version 1.1
This tutorial will show you how to use the Pogostick Yii Extension Library to make an HTML TEXTAREA input element into a full-fledged WYSIWYG editor pretty much with very little code.

How To Connect With Twitter From Yii

Created 4 years ago by lucifuriousTutorials1 comment – viewed 19,124 times – ( +4 / -1 ) – version 1.1
Here is a quick tutorial for connecting Yii with Twitter using the Pogostick Yii Extensions Library.
tags: twitter