Wiki

Displaying 141-150 of 782 result(s).

using 'whenClient' for complex client side validation

Created 2 years ago by thiagoc7How-tos0 comments – viewed 3,403 times – ( +1 ) – version 2.0
You have a 'Category' model with Id, Name and Visibility (boolean, where 0 = Public, and 1 = Private).

Migration the database schema to another one

Created 2 years ago by Kostas Apazidis (KonApaz)Tutorials2 comments – viewed 3,673 times – ( +1 ) – version 1.1
In this wiki I will show how to copy a schema from a database to another one

Save uploaded file with any filename characters

Created 2 years ago by Kostas Apazidis (KonApaz)How-tos3 comments – viewed 7,227 times – ( +1 ) – version 1.1
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/

Find geolocation info of client through another API

Created 2 years ago by Kostas Apazidis (KonApaz)How-tos0 comments – viewed 3,199 times – ( +1 ) – version 1.1
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)

Model validation for field ranges using yii2-field-range extension

Created 2 years ago by Kartik VTips0 comments – viewed 12,218 times – ( +39 ) – version 2.0
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.

Make an ajax request to another server using JSONP

Created 2 years ago by Kostas Apazidis (KonApaz)Tips0 comments – viewed 7,231 times – ( +1 ) – version 1.1
There are cases that you want to make an ajax request to another server and get the results.

Key web server settings after installing a fresh Yii 2 basic or advanced app

Created 2 years ago by Kartik VTips2 comments – viewed 13,849 times – ( +48 ) – version 2.0
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.

Yii2 and Pdf files with Mpdf

Created 2 years ago by CTalaHow-tos2 comments – viewed 14,384 times – ( +7 ) – version 2.0
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.

Create URL to language switcher anchor with langhandler

Created 2 years ago by Anas AbuDayahTips2 comments – viewed 4,076 times – ( +1 / -1 ) – version 1.1
This topic is related with langhandler extension

Save or Update Multiple related model values in one Tabular input form

Created 2 years ago by Kostas Apazidis (KonApaz)Tutorials4 comments – viewed 18,162 times – ( +1 / -7 ) – version 1.1
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 ?