Viewing 8 replies - 1 through 8 (of 8 total)
  • There is a difference in which shortcode you are using.
    [locations_map] will show locations so, you cannot link directly to a single event. you can link directly to a single location and that will list all events planned there.

    The #_LOCATIONMAP placeholder is meant to show the location of a single event. So that balloon text can directly to a single event. The mark-up for these balloons is in Events > Settings > Formatting > Maps.

    Thread Starter gjv

    (@garethjohnvaughan)

    Thank you for the reply. I have setup a [locations_map] and an [events_map]. I understand the difference between the two, although the setting page doesn’t have a way of changing the content between the two.

    The ‘#_LOCATIONMAP’ showed a popup of another map which didn’t load when added to the ‘Location balloon format’ setting. Sorry assume this is the ‘whole’ container we see.

    I tried this:
    #_LOCATIONNAME<p>#_LOCATIONADDRESS</p><p>#_LOCATIONTOWN</p>
    <p>
    <span class=”btnInnerText”>READ MORE</span></p>

    but it appeared on both the [events_map] and the [locations_map] – I’d need to differentiate between the two in an ideal world.

    The map shows a single marker for one location where 3 events are stored. I can add ‘#_LOCATIONPAGEURL’ to show the page showing all events here.

    So, what do I use to click through to the actual event? Currently searching.

    Thread Starter gjv

    (@garethjohnvaughan)

    I found ‘#_EVENTLINK’ but it doesn’t appear to work, no link is generated.

    Thread Starter gjv

    (@garethjohnvaughan)

    ‘#_EVENTURL’ doesn’t work either. I’m using the [events_map] shortcode to show the map, although I can’t see this is showing the actual events, it’s showing the ‘locations’ and no events are listed

    Okay, my first response:
    #_LOCATIONPAGEURL is not a valid placeholder. I noticed that by default EM does put this in the default content. That should be #_LOCATIONNEXTEVENTS.

    If you look at the help page for the placeholders you will also see that #_LOCATIONPAGEURL is not listed. Try using #_LOCATIONNEXTEVENTS instead.

    @timrv / @angelo_nwl (EM Support Team),
    Could you please consider this as reporting a bug? ??
    There is a unknown placeholder used in Events > Settings > Formatting > Maps > Single Location > Location Balloon Format when installing the plugin the first time (or resetting the settings).

    Sorry… In this case the correct mark-up should be:

    <strong>#_LOCATIONNAME</strong><br/>#_LOCATIONADDRESS - #_LOCATIONTOWN<br/><a href="#_LOCATIONURL">Events</a>

    #_LOCATIONNEXTEVENTS will output a list and not the correct url. Using #_LOCATIONURL will make the “Events” act as a link to the correct single location page. ??

    Thread Starter gjv

    (@garethjohnvaughan)

    Thank you once again ??

    I have used the following code for ‘Global Map Format’:

    #_LOCATIONNAME<p>#_LOCATIONTOWN</p>
    Next Event(s)
    #_LOCATIONNEXTEVENTS

    <p>See ALL Events</p>

    This does exactly as you say, all the events at that location are listed. I originally thought that the map would show all events, rather than via the location, but on reflection, every event has to have a location and if there are more than one at the same then there can’t really be two markers.

    How true! ??
    Just keep in mind that if a location has a lot of events, the list will be very long – perhaps too long for the balloon.

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘Event Map – click through’ is closed to new replies.