https://github.com/kanopi/localist_events
https://github.com/kanopi/localist_events
drupal drupal-module
Last synced: 4 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/kanopi/localist_events
- Owner: kanopi
- License: gpl-2.0
- Created: 2024-09-24T21:27:51.000Z (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2025-03-12T16:57:43.000Z (over 1 year ago)
- Last Synced: 2025-12-28T04:36:33.521Z (6 months ago)
- Topics: drupal, drupal-module
- Language: PHP
- Homepage:
- Size: 39.1 KB
- Stars: 0
- Watchers: 9
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Localist Events
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`