Make possible for Sections and Workspaces to have an optional front page.
The situation now is that when one visits a section or a workspace one is presented with the listing of the section or the workspace with some paragraphs of description text.
This is not enough since there isn't any easy way to tell CPS that a given section of workspace should be presented with a different page for example with pictures, more text and attached document.
So this ticket is a proposal and request for comment on the way we could implement this.
Proposal:
- Add a field in the section and workspace schemas to tell which page ID should be used as the section or workspace front page.
- If the front page ID is specified then this is this page which is rendered instead of the section or workspace default rendering instead of the section or workspace view. We don't want to use a redirect on the view of the front page since this would break the logic and navigation of the site.
- The section or workspace edit action is not modified and always directs to the modification form. This is where the front page ID can be modified.