library cmsms-google-maps
Google Maps module for CMS Made Simple
torfs-ict/cmsms-google-maps
Google Maps module for CMS Made Simple
- Friday, November 11, 2016
- by kristoftorfs
- Repository
- 1 Watchers
- 0 Stars
- 36 Installations
- PHP
- 1 Dependents
- 0 Suggesters
- 0 Forks
- 2 Open issues
- 4 Versions
- 3 % Grown
Google Maps
Google Maps Module for CMS Made Simple. This module is meant to be
used in the Composer and Bower-enabled version of CMSMS., (*1)
Features
- Add a map with pure HTML, as well as including an info window.
- Makes sure scrolling your website keeps working on small screens like tablets and smartphones, even when creating a full-width map.
Usage
- Add the required stylesheets to your
head
tag: {cms_module module="GoogleMaps" action="css"}
- Add the required javascript at the end of your
body
tag: {cms_module module="GoogleMaps" action="js"}
- Add the Smarty block as shown below to implement the map, the contents of the block will be put in the info window.
Sample code
{GoogleMaps address="One Microsoft Way Redmond, WA 98052-6399, United States" title="Microsoft HQ"}
<h6>Microsoft HQ</h6>
<p>
One Microsoft Way
<br>Redmond, WA 98052-6399
</p>
<p>(425) 882-8080</p>
<p><a href="https://www.google.be/maps/dir//One+Microsoft+Way+Redmond,+WA+98052-6399,+United+States" target="_blank">Directions</a></p>
{/GoogleMaps}
dev-develop
dev-develop
Google Maps module for CMS Made Simple
Sources
Download
MIT
The Requires
by
Kristof Torfs
1.0.1
1.0.1.0
Google Maps module for CMS Made Simple
Sources
Download
MIT
The Requires
by
Kristof Torfs
dev-master
9999999-dev
Google Maps module for CMS Made Simple
Sources
Download
MIT
The Requires
by
Kristof Torfs
1.0.0
1.0.0.0
Google Maps module for CMS Made Simple
Sources
Download
MIT
The Requires
by
Kristof Torfs