Skip to content

[eme_locations_map]

23-Jan-11

[eme_locations_map]
Inserts a map of multiple locations. Accepts the following arguments:

  • width: the width in pixels of the map. Default: 450.
  • height: the height in pixels of the map. Default: 300.
  • eventful: if set to true, only locations with events planned will be shown. Default: false. Possible values: 0 or false, 1 or true
  • scope: see the explanation for [events_list]. You need to set eventful to true for this to have any effect.
  • category: see the explanation for [events_list]. If eventful=true as well, then only locations with events matching the category criteria are shown.
  • paging controls wether or not you want to activate pagination in the locations listed. The default is “0″ (=false), use “1″ (or “true”) to indicate you want pagination. For locations, only period paging is possible, so you have to indicate the period via the scope option. Also, since period paging is only usefull for locations having events, the option eventful needs to be set to true as well.
  • list_location: specifies the place where the location list will be shown: before the map, after the map, or not. Possible values: ‘before’, ‘after’, ‘none’. The default is ‘after’.
  • show_locations controls wether or not to show the list of locations. Default: true. Possible values: 0 or false, 1 or true
  • show_events controls wether or not to show a list of events per location (or without locations, if show_locations is false). Default: false. Possible values: 0 or false, 1 or true

Example:
[eme_locations_map eventful=true paging=1 scope=this_week]