Download the PHP package cedricziel/formengine-map without Composer
On this page you can find all versions of the php package cedricziel/formengine-map. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download cedricziel/formengine-map
More information about cedricziel/formengine-map
Files in cedricziel/formengine-map
Package formengine-map
Short Description Embed a map search into your TCA forms
License GPL-2.0+
Homepage https://typo3.org/
Informations about the package formengine-map
TYPO3 CMS Formengine Map Node
A simplistic integration for Google Maps on any TCA text
field.
It allows you to either leverage Google Static Maps for a very privacy protected API Access or Google Maps to search places with a rich interface.
Installation
Configuration
You need a Google Maps API key activated with the following APIs:
This key needs to be configured in the ExtensionManager.
The default configuration attaches a field of type text
with renderType=cz_map
to the tt_content
TCA table.
Google Static Maps Embedded view:
Google Static Maps Embedded view:
ExtensionManager Configuration view:
Usage on other tables / colums
Just define a text column with a renderType
of cz_map
.
You can then use the included DataProcessor to transport the value to your view.
ViewLayer
As the column is filled with a JSON blob, you need to deserialize it, before passing it to the view. You can do so (preferably) in a DataProcessor, or use a ViewHelper to deserialize it in the view..
The extension ships a DataProcessor that attaches to lib.fluidContent
, when the static template is included.
You can use the following snippet to attach it to any other element:
This will process the given tx_formenginemap_address
field on the given row so that you can use the map
variable in your fluid templates.
License
GPLv2+