WordPress.org

Ready to get started?Download WordPress

Forums

Events Manager
Two Questions: Google Maps and Widget (10 posts)

  1. earthgolf
    Member
    Posted 3 years ago #

    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!

    http://wordpress.org/extend/plugins/events-manager/

  2. Marcus
    NetWebLogic Support
    Plugin Author

    Posted 3 years ago #

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

  3. earthgolf
    Member
    Posted 3 years ago #

    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.

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

    Finally, looking at the widget tutorial:

    http://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.

  4. agelonwl
    Member
    Posted 3 years ago #

    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 http://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]

  5. Marcus
    NetWebLogic Support
    Plugin Author

    Posted 3 years ago #

    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)

  6. magneticmoon
    Member
    Posted 2 years ago #

    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.

  7. Marcus
    NetWebLogic Support
    Plugin Author

    Posted 2 years ago #

    i'll post here:

    <a href="<a href="http://maps.google.com/maps?daddr=#_LOCATIONADDRESS+#_LOCATIONTOWN&quot" rel="nofollow">http://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="http://maps.google.com/maps&quot" rel="nofollow">http://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>
  8. magneticmoon
    Member
    Posted 2 years ago #

    Excellent! Thank you very much for your quick response!

  9. swinggraphics
    Member
    Posted 2 years ago #

    This is the "Default location balloon format" I am using:

    <strong>#_LOCATIONNAME</strong><br/>#_LOCATIONADDRESS<br/>#_LOCATIONTOWN, #_LOCATIONSTATE #_LOCATIONPOSTCODE<br/><a href="http://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: http://wp-events-plugin.com/documentation/using-template-files/

  10. Marcus
    NetWebLogic Support
    Plugin Author

    Posted 2 years ago #

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

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic