-
Notifications
You must be signed in to change notification settings - Fork 8
Refactor datatype festival #133
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Such an "event" page type, when used as part of a festival, should probably not get its own url in the root namespace (like normal pages), but instead only exist "inside" the festival page (where the festival page is responsible for routing requests to the event and/or processes requests itself). This still allows getting a list of all "event" pages if you query recursively.
Then the festival page XML will refer to the event page id for each contribution. Having separate page XML for contribution events would probably simplify translation and versioning for events as well (#335). To allow customizing display or derive attributes for certain kinds of events, a "subtype" approach might be useful, where there is e.g. a Open question: Where to store the extra data? E.g. "Notes for the organizers" is not an event property, but only exists for festival contributions. Do we store that in the festival XML, along with the reference to the event page id? Or inside the event page XML as an "extra" attribute/tag (i.e. not interpreted by code that looks at any event, but interpreted by the festival module)? Storing it inside the event XML could help to include the property in the translation / versioning structure (though for this particular "notes for the organizers", this would not need to be translated, maybe only versioned). |
I would put the extra field(s) in the festival XML as they apply specifically to the context of the festival and need no translation. |
The datatype festival could be a lot easier once the datatype event (#131) is implemented.
The text was updated successfully, but these errors were encountered: