Page MenuHomeWrite.as

Instance-level stylesheet
Open, LowPublic

Description

Overview

Let admins set a stylesheet for the entire instance via the web interface.

Background

Users

Admins

Implementation

Add a new "Custom CSS" section to the admin dashboard, similar to what's found on individual blogs, including the Ace editor.

Ideas for storage

Create new database table for storing CSS. Use the appcontent table (maybe content_type = 'style' ?)

Ideas:

  • Maybe allow multiple stylesheets stored, for switching between later? For offering users themes to choose from?
  • Include data type / location, so we can store e.g.
    • Instance CSS
    • User CSS
    • Footer HTML snippet
    • Landing page HTML snippets

Event Timeline

matt triaged this task as High priority.Feb 21 2019, 6:46 PM
matt created this task.
matt edited projects, added WriteFreely (v1.0); removed WriteFreely.
matt edited projects, added WriteFreely; removed WriteFreely (v1.0).
matt removed matt as the assignee of this task.May 7 2019, 7:12 PM
matt updated the task description. (Show Details)
matt lowered the priority of this task from High to Medium-High.Jun 20 2019, 3:00 PM

I'm gonna go ahead and knock this out, since I'm already in the admin code for T565

matt lowered the priority of this task from Medium-High to Low.Sep 11 2020, 10:39 AM
matt removed matt as the assignee of this task.Oct 7 2020, 5:34 PM