I need to put a map in the frontend in a module position.
Can I do this? How?
Thanks,
Felipe
Map on frontpage
-
- Phoca Member
- Posts: 18
- Joined: 21 Jul 2011, 01:53
Re: Map on frontpage
Install the phocamaps plugin and activate it first, if you haven't already. This lets you put a map in an article or module. Get it here: https://www.phoca.cz/phocamaps-plugin
Create a new "Custom HTML" module, assign it to the module position you like and in the module's html editor insert the plugin code snippet using the map id number for your desired map of course.
That should do the trick! I just tested it and it worked brilliantly.
Good luck!
Create a new "Custom HTML" module, assign it to the module position you like and in the module's html editor insert the plugin code snippet
Code: Select all
{phocamaps view=map|id=1}
That should do the trick! I just tested it and it worked brilliantly.
Good luck!