Page MenuHomeMusing Studio

Instance-level static pages
Open, WishlistPublic

Description

Overview

Allow admins to create static pages (like they already can with About and Privacy pages) that will be added to navigation on the site.

Background

Users

Admins of multi-user instances

Implementation

Save all data to appcontent table. Add new fields:

  • title - display this value in navigation
  • location or link - describes where the link is show, e.g.
    • header - the top navigation bar when not logged in
    • footer - footer navigation bar
    • NULL - don't add to any navigation, but keep the page accessible

Any created pages should become reserved usernames. If saving and a username is already taken, return an informative message and save page (since they're already expecting it to save) with an alternative slug, e.g. {slug}-page.

Design

Add /admin/edit/{slug} route. Page should have fields:

  • slug
  • title
  • content

Related Objects

StatusAssignedTask
OpenNone
OpenNone

Event Timeline

matt triaged this task as Normal priority.Feb 27 2019, 3:43 PM
matt created this task.
matt created this object with visibility "Public (No Login Required)".
matt created this object with edit policy "All Users".
matt moved this task from Backlog to Soon / v1.0 on the WriteFreely board.
matt removed matt as the assignee of this task.Jul 22 2020, 4:36 PM
matt lowered the priority of this task from Normal to Wishlist.