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.
This is a simple example of how we can display images in CGridviews.Imagine that you have an image field in your table ie either a location field or a blob type field used to store the images.
I needed a csv export function for my cgridview and I wanted to export the entire result set of the sorted and filtered cgridview the user was viewing via ajax.
There are scenarios when you work with DVCS (like [Mercurial]( http://mercurial.selenic.com/) or [Git]( http://git-scm.com/)) and CDbMessageSource. To my experience keeping the development database and production database in sync can be very...
Suppose you have an Application in Yii that manages hotels each one has many customers.
There are a couple of ways to achieve this, but the first is preferred.
Normally when we want users to download a file, that file is put in a folder under the web application root and the web server does the rest.
by: Christian Salazar (bluyell, @salazachris74, christiansalazarh@gmail.com)
If you tried this extension with success, maybe you thought how to do it without page submission or ajax calls.
Cookie management in Yii is easy, but may not be so obvious for the beginners to this framework, so I wrote this simple article to clear some doubts out.
Here I am describing how you can install and update Yii in WAMP sever.
A big problem I've hit with the Yii-Bootstrap extension is that all AJAX requests are initializing Bootstrap because of preload. This is a huge waste of resources, especially when using AJAX-based file uploaders that split the file into chunks. Large file uploads using that method could be initializing bootstrap hundreds of times.
An application component is a confortable way for share information among all component of the application
I used another example posted here a while back where the person was modifying the index.php and adding in a switch case for different domains and loading separate config files. This was actually too much for me, because all my portals are the exact same (as far as routes, modules, extensions, etc) and if I ever wanted to add another route it wouldn't be feasible opening up all the config files t...
I have read http://www.yiiframework.com/wiki/24/creating-a-dependent-dropdown/ (Dependen Dropdown Yii1), but I can't implement it in Yii2 because Yii2 does not have built-in AJAX functionality hem.. I searched about it and came across this post
This is a simple example in Yii2.0 to understand how you can write a custom component and use it inside your app.(basic template)
Stores session data in database and transfer data when session is destroy. Uses for check users online, user's last activity and last ip.
Yii2 - Converting from Bootstrap3 to Bootstrap4
It is actually mentioned in the documentation