Skip to content

Latest commit

 

History

History
42 lines (32 loc) · 2.18 KB

README.md

File metadata and controls

42 lines (32 loc) · 2.18 KB

DonkeyMap

Module with markers and contour lines for a certain area.
Can show different markers per category and per tag.
Works with location field from Tassos (acfmap) and also the legacy version (acfosm) of it.
Works with the YOOtheme Pro location field

Links

Tips

  • create category polygon and set it to noindex / nofollow
  • create and article per polygon with no text editor active in this category and also set in to noindex / nofollow

Marker Icon Image per article

  • create a custom field of the type media
  • enter the name of the field in the DonkeyMap module on the tab called Marker (Article marker icon field name).

Marker priorities

The order the markers are evaluated is :

  • Article marker, set inside the article - if set this get's priority
  • Category markers - if set with it's own icon this marker is next in line
  • Tag markers - use only 1 tag
  • Marker default icon

Customise the content of the marker popup

Create a custom field with the name donkeymap-popup-content In an article you can add in this custom field other custom fields within double curly brackets like this :

{{custom-field-name}}

When a field is found with this name the content of it replaces ALL custom field content with the content of that one field. This will be displayed at the end of the popup. If you want to have some html in the popup make sure you set the Filter to the correct value (for example Safe HTML) in the General tab of the custom field.

You can change the behaviour of the article link on the tab Popup in the module so for example the link opens in a new tab.

Show image in popup

To turn off the display of the image in the popup create a custom field with the name : show-article-image-in-map-marker-popup. Add two entries with values 0 and 1 to this custom field. If this field does not exist the image is displayed by default