Remember-filters-gridview is one of the must-use extension on all of my project. However, it lacks of storing the page and sort variables of the grid view.
Remember-filters-gridview is one of the must-use extension on all of my project. However, it lacks of storing the page and sort variables of the grid view.
If you coming to Yii with experience with Zend Framework for example, most likely you get used to
Zend_Registry::get('paramName');
Zend_Registry::set('paramName');
Using a version control system, like Git, is nice. However, when building an extension from scratch and loading it via Composer, it adds a lot of pain in the butt steps. You have to commit your changes, update composer to pull them over, then notice there is an error, fix, commit, update. repeat.. I don't want all my baby steps under Git. Sure, I could edit my commit history, but c'mon. Just let m...
Uploading files in a webapp can be extremely tricky and sometimes the quickest way to do it is to store the file directly in the webserver or into a DNS (like Amazon S3) and then to save the link and the metadata inside a table in the DB. The thing is that you'll have to deal with file permissions, server storage, file management and so on (which is perfectly fine, by the way).
Ok, it is a little bit difficult to full understanding the unsafe validator.
From: http://lacot.org/ and me.
Upon creating my Yii2 Members System, I have ran into a few snags along the way that forced me to extend and bend Yii2 to my will.
This solution requires Yii 1.1.9 or above
We all know that widgets are really useful. We can use the almost everywhere we want, and we can use the same code a lot of times ( Almost OOP ).
This is a simple example that will give you a base for designing a database driven menu system that will use CMenu to be rendered.
The basic idea is to render a grid and, for each row, render a set of radio buttons that asynchronously update their respective model.
In this article I will show you how to implement a secure password hashing mechanism in your Yii projects using a bCrypt class.
Language translation is a common requirement in multi lingual sites. In Yii, we can translate using message and view translation.
This article is about implementing authentication to Yii based web services.
You have that, when a product is on development they can change its API anytime. This change is quite important though, its related on how to set the events of your form, for example, the useful beforeSubmit.
Like gmail, if you have tree or more unsuccessful login attemps a captcha appears
Create a folder where to place an Yii app under wordpress folder (mine is "yii')
If you tried this extension with success, maybe you thought how to do it without page submission or ajax calls.
$P$
.