Wiki

Articles in category "tutorials", sorted by commentsX
Displaying 51-60 of 172 result(s).

Update/delete model with CJuiDialog (works in CGridView)

Created about a year ago by ifdatticTutorials6 comments – viewed 31,183 times – ( +14 )
This is based on this article.

How to log changes of ActiveRecords?

Created 4 years ago by pfthTutorials5 comments – viewed 18,642 times – ( +27 / -2 )
A simple and effective way to keep track what your users are doing within your application is to log their activities related to database modifications. You can log whenever a record was inserted, changed or deleted, and also when and by which user this was done. For a CActiveRecord Model you could use a behavior for this purpose. This way you will be able to add log functionality to ActiveRecords very easily.
tags: Logging

Using CAutoComplete to display one value and submit another

Created 4 years ago by luoshibenTutorials5 comments – viewed 32,881 times – ( +7 / -3 )
Note: CAutoComplete is deprecated since Yii 1.1.3. Consider using CJuiAutoComplete.

Secure password hash storage and a Yii helper extension

Created about a year ago by fsbTutorials5 comments – viewed 16,855 times – ( +14 )
This article was rewritten as the README of the Randomness GitHub repo

Front-end developer's guide

Created about a year ago by jonahTutorials5 comments – viewed 15,420 times – ( +10 )
This wiki is a work in progress.

Enabling Gzip

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

Adding login form to each page

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

How to add ajax-loading indicators

Created 3 years ago by schmunkTutorials5 comments – viewed 24,442 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

I18n subdomains and url-rules

Created 3 years ago by Y!!Tutorials5 comments – viewed 15,726 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

Events explained

Created about a year ago by pligorTutorials5 comments – viewed 11,233 times – ( +17 / -2 )
Let's see what exactly are the events in Yii!