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

    (@netweblogic)

    Hi, it’s possible, but you’d have to add this yourself with some coding knowledge, can point in the right direction if you can code.

    Thread Starter roughandready

    (@roughandready)

    By no means am I an expert but I can get around with CSS and a bit of PHP. I’ll give it a try ??
    Please pass me in the right direction.
    thank you

    Plugin Author Marcus (aka @msykes)

    (@netweblogic)

    ok…. here it goes ??

    to get location lists, you could do something like:

    $EM_Locations = EM_Locations::get();
    foreach($EM_Locations as $EM_Location){
      $EM_Location->name; //location name
      $EM_Location->id; //location id
    }

    modify accordingly to create a select input html. If you supply the page with a location ID, you can then generate a calendar filtering by location, e.g.

    echo EM_Calendar::output(array('location'=>x));

    where x is the location id in question.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘[Plugin: Events Manager] Adding a location search to calendar page?’ is closed to new replies.