1.1 --- a/macros/EventAggregator.py Wed Jan 29 18:24:35 2014 +0100
1.2 +++ b/macros/EventAggregator.py Sat Mar 29 15:10:46 2014 +0100
1.3 @@ -41,7 +41,7 @@
1.4 mode=map shows a map of events
1.5
1.6 calendar=NAME uses the given NAME to provide request parameters which
1.7 - can be used to control the calendar view
1.8 + name=NAME can be used to control the calendar view
1.9
1.10 template=PAGE uses the given PAGE as the default template for new
1.11 events (or the default template from the configuration
1.12 @@ -49,6 +49,10 @@
1.13
1.14 parent=PAGE uses the given PAGE as the parent of any new event page
1.15
1.16 + source=SOURCE uses the given SOURCE to provide events
1.17 +
1.18 + search=SEARCH uses the given SEARCH expression to search for events
1.19 +
1.20 Calendar view options:
1.21
1.22 names=daily shows the name of an event on every day of that event
1.23 @@ -61,6 +65,20 @@
1.24 page specified in the configuration by the
1.25 'event_aggregator_maps_page' setting) along with an
1.26 attached map image
1.27 +
1.28 + Request parameters configured by the calendar argument include the
1.29 + following:
1.30 +
1.31 + start equivalent to the above start argument
1.32 + end equivalent to the above end argument
1.33 +
1.34 + wider-start indicates the start of a view from a wider context
1.35 + wider-end indicates the end of a view from a wider context
1.36 +
1.37 + mode equivalent to the above mode argument
1.38 +
1.39 + resolution=month indicates that dates have a month level of precision
1.40 + resolution=date indicates that dates have a day/date level of precision
1.41 """
1.42
1.43 request = macro.request
1.44 @@ -109,6 +127,9 @@
1.45 elif arg.startswith("calendar="):
1.46 calendar_name = arg[9:]
1.47
1.48 + elif arg.startswith("name="):
1.49 + calendar_name = arg[5:]
1.50 +
1.51 elif arg.startswith("template="):
1.52 template_name = arg[9:]
1.53