GithubHelp home page GithubHelp logo

firelizard / smartmap Goto Github PK

View Code? Open in Web Editor NEW
2.0 3.0 0.0 186 KB

A really smart TYPO3 CMS Map Extension for pretty interaction

License: GNU General Public License v3.0

ApacheConf 0.05% PHP 47.33% HTML 2.04% JavaScript 30.80% CSS 19.78%

smartmap's Introduction

smartmap

A really smart TYPO3 CMS Map Extension for pretty interaction.

General Information

Installation

  1. Install via composer: composer require typo3-ter/smartmap
  2. Activate via Extension Manager
  3. Include static templates
  4. Include assets (found at EXT:smartmap/Resources/Public/Css and EXT:smartmap/Resources/Public/Js)
  5. Include assets of map library (which are not included in this extension!)

Provide your payload by using Signal-Slot-Pattern

To provide your data simple follow these steps:

  1. Implement the Interface FireLizard\Smartmap\Provider\DataProviderInterface, e.g. as My\ExtensionName\Provider\MyDataProvider.
  2. Register a slot for the signal inside your ext_localconf.php:
// signal-slot to connect with EXT:smartmap
\TYPO3\CMS\Core\Utility\GeneralUtility::makeInstance('TYPO3\\CMS\\Extbase\\SignalSlot\\Dispatcher')->connect(
    \FireLizard\Smartmap\Service\ProviderService::class,
    \FireLizard\Smartmap\Service\ProviderService::$getDataProvider_SIGNAL,
    function(&$data, $signal) {
        $data[] = array('MyDataProvider', 'My\\ExtensionName\\Provider\\MyDataProvider');
    },
    NULL
);

To use a filterform follow these steps:

  1. Implement the Interface FireLizard\Smartmap\Provider\FilterProviderInterface, e.g. as My\ExtensionName\Provider\MyFilterProvider.
  2. Register a slot for the signal inside your ext_localconf.php:
// signal-slot to connect with EXT:smartmap
\TYPO3\CMS\Core\Utility\GeneralUtility::makeInstance('TYPO3\\CMS\\Extbase\\SignalSlot\\Dispatcher')->connect(
    \FireLizard\Smartmap\Service\ProviderService::class,
    \FireLizard\Smartmap\Service\ProviderService::$getFilterProvider_SIGNAL,
    function(&$data, $signal) {
        $data[] = array('MyFilterProvider', 'My\\ExtensionName\\Provider\\MyFilterProvider');
    },
    NULL
);

smartmap's People

Contributors

firelizard avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar  avatar

smartmap's Issues

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.