Wiki

Displaying 101-110 of 741 result(s).

Find geolocation info of client through another API

Created 10 months ago by Kostas Apazidis (KonApaz)How-tos0 comments – viewed 1,777 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 10 months ago by Kartik VTips0 comments – viewed 4,481 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 10 months ago by Kostas Apazidis (KonApaz)Tips0 comments – viewed 3,961 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 10 months ago by Kartik VTips2 comments – viewed 6,068 times – ( +42 ) – 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 10 months ago by CTalaHow-tos1 comment – viewed 4,932 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 10 months ago by Anas AbuDayahTips2 comments – viewed 2,182 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 10 months ago by Kostas Apazidis (KonApaz)Tutorials4 comments – viewed 7,916 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 ?

Using the yii2-datecontrol extension along with yii2-detail-view widget

Created 10 months ago by Kartik VHow-tos0 comments – viewed 3,233 times – ( +34 ) – version 2.0
The yii2-datecontrol extension allows you to control separate date formats for display and saving for form inputs.

Editing, Deleting, and Viewing model data with the yii2-detail-view extension

Created 10 months ago by Kartik VTutorials0 comments – viewed 10,027 times – ( +36 ) – version 2.0
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.

Render a form in a Modal Popup using ajax

Created 10 months ago by thiagoc7How-tos13 comments – viewed 31,350 times – ( +8 ) – version 2.0
Nowdays is very common webapps use this feature. With Yii2 this is very easy.
tags: yii2, AJAX, modal