This is another way to view images in your application and I like this way because it's simple and I think it's better performance than other.
This is another way to view images in your application and I like this way because it's simple and I think it's better performance than other.
To extend further static pages as shown by Qiang http://www.yiiframework.com/wiki/22/how-to-display-static-pages-in-yii/ here're the steps to take:
For some applications it can be advantageous for administration reasons to allow site administrators to login as other users. This is sometimes called user impersonation or "becoming that user".
If you are coming over to Yii 2 from Yii 1.x, you may have already read this useful wiki for creating dependent dropdowns. You can use a similar approach in Yii 2 to do the same. But if you are looking at a prebuilt solution that helps you manage it easier, read along.
In this wiki I will show how could use a TbActiveForm for changing the old password with help of old, new and repeat password features.
Translation from .txt file Note:
This is wiki page is useful if you are trying to build a customized REST API in Yii2.0
This article tries to describe the practical techniques of searching by a HAS_MANY relation using ActiveRecord of Yii 2.0.
Have you ever wanted to use an auto-complete field to look up a user or some other data, but want the database ID of that user or data returned as well so that you can more easily perform some function when the form is submitted? Thanks to Yii's CAutoComplete widget and [jQuery's Autocomplete plugin](http://plugins.jquery.com/project/jq-autocomp...
This wiki has been replaced by Use crypt() for password storage.
This wiki is a work in progress.
Application configuration determines how an Yii application should behave, because it is the only parameter passed in the entry script. An application, on the other hand, needs to behave differently under different circumstances. For example, an application may need different configurations when running in production mode, development mode and testing mode; In a team development environment, each...
After adding proper form to the main layout, like:
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.
This tutorial shows how to use a model to save and validate related (MANY_MANY) models.
I've found useful to have a step by step reference guide to work with Git with most used commands, feel free to update it with useful information you may find interesting too.
If we want to set meta tags on a per page (controller-action) basis, we may use the clientScript application component.
p.s. latest version of this tutorial is always available unter the docs/ folder of the User Management Module.