Awhile ago I was trying to find a database driven CMenu system to add to my web applications. This always seemed to me that it would be a lot easier to manage if it where in a database. So the following is the results of that effort:
Awhile ago I was trying to find a database driven CMenu system to add to my web applications. This always seemed to me that it would be a lot easier to manage if it where in a database. So the following is the results of that effort:
According to below wiki we could migrate database schema to another database
You have a 'Category' model with Id, Name and Visibility (boolean, where 0 = Public, and 1 = Private).
In this wiki I will show how to copy a schema from a database to another one
First of all this is a very common problem, for more details see this post http://www.yiiframework.com/forum/index.php/topic/52052-upload-file-with-any-charset/
This wiki shows how to get the geolocation info of the client using another server API It could be write also as extension but there are a lots of APIs that change the below code So, I wrote the below code that works for one of them (using www.geoplugin.net)
The yii2-field-range extension enables you to easily setup ActiveField range fields with Bootstrap styling. You basically can setup two attributes joined together like a single field with combined validation error block.
There are cases that you want to make an ajax request to another server and get the results.
So, you have installed a brand new Yii 2 app (basic) or (advanced). Here are a few tips for Apache web server users to get things running more secure and better with your yii2 app.
I am still new to composer and packagist, so I want to share how I am creating the pdf files because for me was not as simple as it should be.
This topic is related with langhandler extension
In this wiki I will show you how to save/update a model with many related model For example: How to set a product to multiple categories only in one post form ?
The yii2-datecontrol extension allows you to control separate date formats for display and saving for form inputs.
The yii2-detail-view extension offers you an easy way to EDIT and VIEW your model data, toggle these modes, and adds other features. You can read the extension documentation and/or view a demo of this extension, to understand usage.
How to profile user requests so you can determine which actions need an enhancements and optimizations? This wiki going to show you a step by step how to do it.
These are functions that I used very often, may helps you!
How to check the online users or how to logout a specific user from your admin panel? This wiki shows how to do that
Your need: You require that for shared machines, the user is authenticated again for a backend access again, if someone is logged in from frontend and vice versa.
After of model update (successfull or not) throught CGridView (check the below link) you probably need to updates the specific row html in cgridview (not entire cgridview)