• I wanted to control what is displayed in the google maps bubble.

    The site is studentglobalhealth.org

    I used the short code to generate the map on the front page, but I would like the bubbles to include a link to the event details and the name of the event. It successfully displays address/location related information, but it will not display any information contained in the event-related variables like #_EVENTNAME or #_EVENTLINK when I try to add these variable.

    By default, the Events Manager backend, it has the following html which works:
    #_LOCATION<p>#_LOCATIONADDRESS</p><p>#_LOCATIONTOWN</p>

    What would I type to get it to display the event name and the event link, in the bubbles for each of the events on the map, or is this impossible? Do I have to get it to call these non-location variables, and if so, how do I go about that?

    https://www.ads-software.com/extend/plugins/events-manager/

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author Marcus (aka @msykes)

    (@netweblogic)

    what shortcode did you use? if you used the location shortcode, event placeholders wouldn’t work there.

    Thread Starter jason.l.outlaw

    (@jasonloutlaw)

    Marcus,

    Thanks for your reply. The shortcode that I used was: [locations_map country=”US” width=full height=400]

    Is there a different approach that I should take either in short codes, or in the hard code?

    Plugin Author Marcus (aka @msykes)

    (@netweblogic)

    That won’t work there, this is only to display locations with upcoming events, not events at upcoming locations, meaning it displays location information, not a specific event.

    One thing you can do is use #_LOCATIONNEXTEVENTS but that could make a big balloon if you have many events in one location, so you’d probably have to make a custom placeholder.

    Whilst writing I’ve come to think that #_LOCATIONNEXTEVENT (no S, i.e. the next event) would be a great placeholder.

    Thread Starter jason.l.outlaw

    (@jasonloutlaw)

    Marcus,

    Your suggestion worked. #_LOCATIONNEXTEVENTS is exactly what I was looking for. I really appreciate that you took the time to help me to figure this out!

    Plugin Author Marcus (aka @msykes)

    (@netweblogic)

    I added #_LOCATIONNEXTEVENT into the next update btw ??

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘[Plugin: Events Manager] Maps/Geotagging: google maps bubble content’ is closed to new replies.