ic-labs / django-icekit

GLAMkit is a next-generation Python CMS by the Interaction Consortium, designed especially for the cultural sector.
http://glamkit.com
MIT License
47 stars 11 forks source link

Link event content to extended Page-style content #237

Open cogat opened 7 years ago

cogat commented 7 years ago

Placeholder ticket - needs more scoping/thought:

There’s a challenge we have, which is to add trees (or at least a list) of (something like) Pages to an Exhibition. For example, to add a set of educational resources on an exhibit on “Horton Hears A Who?“. That happens in the Page tree, completely separate from any event.

What’s an elegant solution to attaching a “mini-site” of pages to an Event? Or - dare i say it - to an arbitrary piece of non-page content?

Internal slack discussion: https://theicteam.slack.com/archives/C1NNMP5EK/p1494302741870784

jmurty commented 7 years ago

In my research into options for accomplishing this, I have focussed on features of the underlying Fluent Pages project that we can use or repurpose, rather than thinking about what we could build from scratch.

I feel strongly that the less we build around or subvert Fluent Pages, the happier we will be long-term.

That said, here is a slightly perverse approach that could work with minimal interference with Fluent Pages.

Placeholder pages to act as root for Mini-sites

Other thoughts and potential issues to consider:

cogat commented 7 years ago

This approach looks reasonable. Let's call them 'microsites' as they're a more commonly understood term.

Just wanted to check whether these actually need to be FluentPage types? Can they be a new type of fluent content, called EventChildPage, with an FK to EventBase? AFAIK these pages don't need to be in a tree. The main challenge then becomes about the UI for viewing/adding/removing pages from an event.

jmurty commented 7 years ago

My reason for making the placeholders fluent pages was so they will appear in the standard page tree hierarchy view and be manageable like other pages, including the ability to move existing pages into and out of the microsite without any fuss.

For example, this would allow ACMI to relocate their pseudo-microsite pages into a proper microsite structure, once this becomes available in GLAMkit.

I think that unless there is a hugely compelling reason we should avoid reinventing a whole page management UI just for this purpose.

Ideally the top-level page hierarchy management UI in the CMS would not be tied to fluent pages, but currently it is.