kanopi/localist_events

Creates a Drupal block of events from Localist.

Installs: 910

Dependents: 0

Suggesters: 0

Security: 0

Stars: 0

Watchers: 9

Forks: 0

Open Issues: 0

Type:drupal-module

2.1.3 2024-10-16 21:01 UTC

This package is auto-updated.

Last update: 2024-11-16 21:13:27 UTC


README

Creates a custom block to embed the Localist events widget. These blocks are configurable, and can set the following options:

  • A heading field (plain text, optional)
  • A School(s) plain text field (required) - e.g., ucsf
  • A Group(s) plain text field (required) - e.g., psychiatry
  • A Days integer field (required, default to 31)
  • A Number of events field (required, default to 3)
  • A Show Repeating Occurrences? boolean field ("all_instances") - default to 1 (true)
  • A Show Hours? boolean field ("show_times") - default to 0 (false)
  • An Open Event in Own Tab? boolean field ("target_blank") - default to 1 (true)

The Widget ID required by the Localist JavaScript Is automatically set using the block's unique ID.

Admin Options

The module also provides an admin configuration page to set the global domain and image selector used for the widget: /admin/config/system/localist-events-settings