Wiki

Displaying 101-110 of 743 result(s).

using 'whenClient' for complex client side validation

Created 11 months ago by thiagoc7How-tos0 comments – viewed 1,838 times – 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 11 months ago by Kostas Apazidis (KonApaz)Tutorials2 comments – viewed 1,884 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 11 months ago by Kostas Apazidis (KonApaz)How-tos3 comments – viewed 3,412 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 11 months ago by Kostas Apazidis (KonApaz)How-tos0 comments – viewed 1,826 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 11 months ago by Kartik VTips0 comments – viewed 4,788 times – ( +36 ) – 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 11 months ago by Kostas Apazidis (KonApaz)Tips0 comments – viewed 4,075 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 11 months ago by Kartik VTips2 comments – viewed 6,360 times – ( +43 ) – 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 11 months ago by CTalaHow-tos1 comment – viewed 5,339 times – ( +5 ) – 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 11 months ago by Anas AbuDayahTips2 comments – viewed 2,239 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 11 months ago by Kostas Apazidis (KonApaz)Tutorials4 comments – viewed 8,443 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 ?