• I’ve got a couple of questions about customizing the Google Maps and the widget.

    For the Google Maps, I’d like to add the option for directions and a “view larger map” that opens a new browser tab in Google Maps.

    For the widget, I’d like to customize the look. Specifically, I’d like to remove the unordered list and make some other minor customizations.

    Thanks for the help!

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

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

    (@netweblogic)

    i recommend you read the docs, including the getting started page.

    Thread Starter earthgolf

    (@earthgolf)

    Marcus, thanks for the response.

    I’ve read through the documents (I did so prior to posting the question…).

    As is usually the case for these documents, as a tactile learner, reading documents can be challenging. Particularly when the desired result is not intuitively obvious in the documents.

    I was unable to locate how I would add a link that opened a new browser tab in Google maps in the smaller map on the events page.

    https://wp-events-plugin.com/documentation/google-maps/
    https://wp-events-plugin.com/tutorials/modifying-event-location-google-maps/

    Finally, looking at the widget tutorial:

    https://wp-events-plugin.com/documentation/wordpress-event-widgets/

    I was unable to locate how I would modify how events are displayed.

    It may be a very simply task with an obvious answer from the documents, but I’ve been unable to figure it out. Any help you can provide would be most helpful – by doing, it may also be possible for me to understand a few other modifications I want to make as I’ll better understand how the tutorial documents work.

    For example, I was able to add a map of all future appearances. I was unaware of this very cool and useful feature, but was glad I found it. Thanks for the work you’ve done on the plugin – I’m only using a small fraction of its capabilities and am duly impressed.

    For the Google Maps, I’d like to add the option for directions and a “view larger map” that opens a new browser tab in Google Maps.
    [ANSWER] you can check out the EM templates, for complete instructions you can check out the site https://wp-events-plugin.com/

    For the widget, I’d like to customize the look. Specifically, I’d like to remove the unordered list and make some other minor customizations.
    [ANSWER]if you want to modify EM widget (at your own risk) then you can check out files at directory [widgets/<*FILES>.php]

    Plugin Author Marcus (aka @msykes)

    (@netweblogic)

    actually, you can add some html for driving directions to your balloon map template in the settings page, can’t remember off the top of my head but you can generate a driving directions link ( i think i answered this somewhere on this forum, try looking around or visiting the google pages)

    magneticmoon

    (@magneticmoon)

    I’ve been trying to figure this directions question out as well. I can’t locate where you’ve posted how to generate a driving directions link anywhere. Has anyone else found this? It sounds like a great feature to add and/or add to the online docs.

    Plugin Author Marcus (aka @msykes)

    (@netweblogic)

    i’ll post here:

    <a href="<a href="https://maps.google.com/maps?daddr=#_LOCATIONADDRESS+#_LOCATIONTOWN&quot" rel="nofollow">https://maps.google.com/maps?daddr=#_LOCATIONADDRESS+#_LOCATIONTOWN&quot</a>; rel="nofollow">Get driving directions ?</a>

    of you could add this too, both of these need to go e.g. in a location balloon or location placeholders are accepted in a format in your events > settings

    <form action="<a href="https://maps.google.com/maps&quot" rel="nofollow">https://maps.google.com/maps&quot</a>; method="get" target="_blank"><br />
    <strong>To get directions enter your starting address:</strong><br />
    <input type="text" name="saddr" /><br />
    <input type="hidden" name="daddr" value="#_ADDRESS, #_TOWN" /><br />
    <input type="submit" value="get directions" /><br />
    </form>
    magneticmoon

    (@magneticmoon)

    Excellent! Thank you very much for your quick response!

    This is the “Default location balloon format” I am using:

    <strong>#_LOCATIONNAME</strong><br/>#_LOCATIONADDRESS<br/>#_LOCATIONTOWN, #_LOCATIONSTATE #_LOCATIONPOSTCODE<br/><a href="https://maps.google.com/maps?daddr=#_LOCATIONADDRESS%2C+#_LOCATIONTOWN%2C+#_LOCATIONSTATE+#_LOCATIONPOSTCODE" rel="nofollow" target="_blank">Get driving directions ?</a>

    Is there a way to escape spaces from #_LOCATIONADDRESS so the URL is properly formatted?

    Also, agelonwl said “you can check out the EM templates.” Specifically, that info is here: https://wp-events-plugin.com/documentation/using-template-files/

    Plugin Author Marcus (aka @msykes)

    (@netweblogic)

    not automatically, you could add a filter to this by overriding the placeholder itself : https://wp-events-plugin.com/tutorials/modifying-placeholder-default-information/

Viewing 9 replies - 1 through 9 (of 9 total)
  • The topic ‘[Plugin: Events Manager] Two Questions: Google Maps and Widget’ is closed to new replies.