Geolocation is an attribute for Akeneo PIM, it adds latitude and longitude field to your product form. You can fill automatically them by using a google maps. See the screenshot :
We assume you're familiar with Composer, a dependency manager for PHP.
Use the following command to add the bundle to your composer.json
and download the package.
If you have [Composer installed globally](<http://getcomposer.org/doc/00-intro.md#globally).
$ composer require "cleverage/akeneo-geoloc-attribute"
Otherwise you have to download .phar file.
$ curl -sS https://getcomposer.org/installer | php
$ php composer.phar require "cleverage/akeneo-geoloc-attribute"
You just need to enable proper bundles inside the kernel.
<?php
// app/AppKernel.php
public function registerBundles()
{
$bundles = array(
new CleverAge\Bundle\GeolocAttributeBundle\CleverAgeGeolocAttributeBundle(),
);
}
php app/console doctrine:schema:update --force
This bundle provides a css file named geolocation.css
, you need to include it in your layout. After that, your need
to install your assets like that :
php app/console pim:install:assets
phpspec examples
$ composer install
$ bin/phpspec run -fpretty
This bundle uses GitHub issues. If you have found bug, please create an issue.
Releases will be numbered with the format major.minor.patch
.
And constructed with the following guidelines.
- Breaking backwards compatibility bumps the major.
- New additions without breaking backwards compatibility bumps the minor.
- Bug fixes and misc changes bump the patch.
For more information on SemVer, please visit semver.org website.
License can be found here.
The bundle was originally created by Arnaud Langlade. Sponsored by Clever Age See the list of contributors.