You are here

function event_views_help in Event Views 5.2

Same name and namespace in other branches
  1. 5 event_views.module \event_views_help()
  2. 6.2 event_views.module \event_views_help()

Implementation of hook_help().

File

./event_views.module, line 10
Views-enables the event module.

Code

function event_views_help($section) {
  switch ($section) {
    case 'admin/help#event_views':
      $output = t('<p>The Event Views module makes the event fields available to the Views module, and creates default event views that filter dates using a drop-down date selector, the jscalendar selector, or by arguments in the url. Set up a default event view by going to %link and select <strong>add</strong>. Save the default views as-is or make any changes you like.</p>', array(
        '%link' => l('admin/views', 'admin/views'),
      ));
      $output .= t('<p>You can change the format of the output. The default views display a list of events, but you can change it to a table or a teaser list in the <strong>Page</strong> settings. You can also add or remove fields from the view.</p>');
      $output .= t('<p>You can filter events in several ways. Use filters to pre-select a date range, expose those filters to allow the viewer to select a date range, or eliminate the filters and give the view year, month, and day arguments to filter the events by the url (i.e. YYYY/MM/DD).</p>');
      return $output;
  }
}