2017 © Pedro Peláez
 

yii2-extension yii2-jquery-uploader-widget

A widget based on https://innostudio.de/fileuploader to create a file input to upload files for yii2 framework

image

aminkt/yii2-jquery-uploader-widget

A widget based on https://innostudio.de/fileuploader to create a file input to upload files for yii2 framework

  • Saturday, March 17, 2018
  • by aminkt
  • Repository
  • 1 Watchers
  • 0 Stars
  • 19 Installations
  • JavaScript
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 1 Versions
  • 6 % Grown

The README.md

Step1: Add flowing line to require part of composer.json :, (*1)

"aminkt/yii2-map-location-picker": "@dev",

And after that run bellow command in your composer :, (*2)

Composer update aminkt/yii2-map-location-picker

Step2: Add flowing lines in your application view file:, (*3)

echo LocationInput::widget([
    'apiKey' => 'Your api key',
    'name' => 'field name',
    'id' => 'field id',
    'options' => [
        // Input options
    ],
    'mapOptions' => [
        'center' => [
            'lat' => 37.4419,
            'lng' => -122.1419,
        ],
        'zoom' => 13,
        // Other google map options.
    ],
    'markerOptions' => [
        'draggable'=> true,
        // Other google map maker options.
    ],
    'disableLocationPicker' => 0, // Or 1 to define input become enabled or not to use just map view.
    'width' => '100%', // Map container width
    'height' => '200px', // Map container height
    'containerOptions' => [
        'class' => 'map-container' // Map container html options.
    ]
]);

The Versions

17/03 2018

dev-master

9999999-dev

A widget based on https://innostudio.de/fileuploader to create a file input to upload files for yii2 framework

  Sources   Download

The Requires

 

ajax upload yii file input ajax upload