• Hello!
    Goodness… First, what an amazing plug-in!!!

    I’m slowly learning how to edit your php files etc.. (I’m a big newbie)
    and it’s so muuuuch fun, thank you so much for your work!!

    Ok now, onto the issue ??
    I would like to set a map of all the future events of the current month, So I’ve place the following shortcode:
    [events_map eventful="1" width=100% height=800 scope="month" ]
    and when I go through the map, I find a lot of locations with the text:
    Aucun évènement à cet emplacement = No events at this location.

    I thought eventful="1" was suppose to filter the empty locations out the map ?
    if you can point me in the right direction, I have tried eventful="0", I tried moving eventful="1" at the end of the code, after scope,
    I tried both with events_map and locations_map shortcodes and both had the same problem.. I am fairly confused!!!

    Thank you in advance for your help, you wonderful man!
    Love, JP

    • This topic was modified 5 years, 8 months ago by fpsiegel.

    The page I need help with: [log in to see the link]

Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Support angelo_nwl

    (@angelo_nwl)

    I’m afraid that scope=”” search attribute is not yet available on location map

    you can try [events_map eventful=”1″ width=100% height=800]

    Thread Starter fpsiegel

    (@fpsiegel)

    Yes I think this works and I don’t get empty events but this doesn’t allow me to limit the events shown to a month.

    I had:
    [events_map eventful="1" width=100% height=800 scope="month" ]
    Showed me only a month of event but had empty “location”

    Now I have:
    [events_map eventful="1" width=100% height=800]
    Show me all the upcoming events there for no empty location on it.

    Any idea on how to combine scope + eventful paramameters in one shortcode ?
    Or is it may-be not yet possible ?

    Anyway thank you for taking the time!

    • This reply was modified 5 years, 7 months ago by fpsiegel.

    @angelo_nwl, according to the documentation you are wrong!
    https://wp-events-plugin.com/documentation/event-search-attributes/

    “eventful” is a location attribute, not an event attribute.

    Thread Starter fpsiegel

    (@fpsiegel)

    Oh I see, thanks Patrick..!
    Yeah eventful is only a location Attributes and after reading more carefuly about what it does: eventful allows to remove location that don’t have an event happening in that scope, therefore if there was one at the start if the scope, it will show an empty location till the scope ends, right ?

    Anyone got an idea on how to achieve that?
    1. only future event during a scope ?
    or 2. only locations with an upcoming event during a scope (discards locations which events are past)?

    [events_map eventful="1" width=100% height=800]
    Is currently probably showing the same as without eventful, since there is no scope, it uses the default scope in the EM Settings.

    Reading the same documentation, one might expect that the [events_map] will automatically not show empty locations, since that shortcode uses the upcoming events to construct the map markers. So “eventful” should be redundant in this shortcode.

    Basically what it does/should do:
    [events_map scope="month"]
    Fetch all events scheduled in the upcoming month and create a map according to the assigned locations in that search result.

    So, that you are getting empty locations in [events_map] is indeed strange. Perhaps even a bug, @angelo_nwl???

    [locations_map eventful="1" scope="month"]
    Create a map for all locations that have event(s) planned in the upcoming month.

    Thread Starter fpsiegel

    (@fpsiegel)

    Hi Patrick, thanks for your reply!

    I understand things a bit better now.

    I gave a try to both shortcodes to make sure for one last time, both give me locations empty of events:
    https://lindylobster.com/alpha-test/
    First map is [events_map scope="month"]
    Second map is [locations_map eventful="1" scope="month"]

    They are indeed the exact same.

    Worth notifying: the problem is worst at the end of the month.
    At the start all have at least one event, at the end most are empty..

    Let me know if you have an idea!

    Sincerely

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Events map with empty locations’ is closed to new replies.