Viewing 5 replies - 1 through 5 (of 5 total)
  • Thread Starter Gerald

    (@gerital)

    Finally I managed to make a dropdown list filled with wordpress users. I made a function similar to eventorganiser_venue_dropdown(options) in frontend.js and filled it with get_users().

    The problem now is how to filter the events in calendar. Any hints on where this filtering is done?

    Plugin Author Stephen Harris

    (@stephenharris)

    There’s a javascript hook (line 202 – source), which allows you to set the boolean value (default ‘true’) to ‘false’ to hide the event from the calendar.

    ( You’ll have to forgive the indentation, I’m not sure what’s gone wrong there… :/)

    Thread Starter Gerald

    (@gerital)

    Thanks for your help!

    I’m not sure if I understand your js hook system but it seems to me like the parameter “a” in the line you talk about is missing the id of the author (like it appears for venue).

    Can you tell me where this parameter a is “filled” – or how I can add a variable like the author to this “a”-object?

    by chance you got the pro version of this plugin?

    Plugin Author Stephen Harris

    (@stephenharris)

    @gerital, there’s this hook for changing the data sent to calendar: https://codex.wp-event-organiser.com/hook-eventorganiser_fullcalendar_event.html

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Authors instead of venues dropdown filter’ is closed to new replies.