easily reusable template for event registrations
Find a file
Oliver Großkloß 386fa9025f
Update README.md
2024-03-03 15:31:32 +01:00
config.php Move comment 2022-09-28 11:41:37 +02:00
index.php add github link and move css to <head> 2022-07-30 17:14:15 +02:00
list_all_events_index.php Create list_all_events_index.php 2024-03-03 15:30:09 +01:00
README.md Update README.md 2024-03-03 15:31:32 +01:00

dorm-event-registration

easily reusable template for event registrations

Settings

config.php

  • registrationCloseDate: (date) //empty means closed | on that date at 00:00 registration will be closed
  • roomnumberNeeded (bool)
  • headline (string)
  • important (string) //multiline support | optional
  • tldr (string) //multiline support | optional
  • text (string) //multiline support

multiline support = Inserts HTML line breaks before all newlines in a string (PHP nl2br)

Setup

  1. move config & index to new event folder
  2. create writable registrations.txt
  3. modify config for event
  4. rename list_all_events_index.php to index.php and keep it on the same level as the event folder(s)
  5. done

Screenshot

drawing