Menu items
JoomMap has three menu item types. Create them in Menus > [your menu] > New, under Menu Item Type > JoomMap.
| Menu item type | What it shows | Required setting |
|---|---|---|
| Single Map | A map page | Select the item: the map |
| Single Location | A location page | Select the item: the location |
| Form | The submission form for a new location | None |
In Select the item, click Select and choose the map or location in the window that opens.
Single Map
Create one menu item per map you want in your menus. The locations of the map get their links through this menu item, so their pages keep the same menu, modules and template. When a location links to another map with the Map link type, JoomMap looks for a Single Map menu item of that map.
Single Location
Use it when one location needs its own place in a menu, for example "Our office". Locations without a menu item still have a page, opened from the map.
Form
The Add Location button above maps uses the first Form menu item it finds, so the form opens with that menu item's modules and template. Without a Form menu item, the button still works.
Visitors without the Create permission get a "not authorised" message on this page. Put the menu item in a menu that only users with that permission see, for example with the Registered access level.
Page heading and metadata
The usual Page Display and Metadata tabs of the menu item work as in Joomla:
- Show Page Heading and Page Heading set the heading above the map.
- Meta Description, Keywords and Robots are used when the map or location has no metadata of its own.
SEF URLs
With Joomla's Search Engine Friendly URLs on, a location page linked from a map has the alias of the location after the map's menu path, for example /our-restaurants/la-table. Location aliases are unique across all maps. When an alias is taken, JoomMap adds a number to it and shows a warning.