Skip to content
This repository has been archived by the owner on Jul 10, 2022. It is now read-only.

Theme choosing #57

Closed
mrusme opened this issue Jan 6, 2015 · 0 comments
Closed

Theme choosing #57

mrusme opened this issue Jan 6, 2015 · 0 comments

Comments

@mrusme
Copy link
Member

mrusme commented Jan 6, 2015

Implement a per-user theme chooser within the settings, that allows users to switch the theme that's being used on Paperwork only for them.

There should be a setting within /app/config/paperwork.php that allows disabling the theme selection and setting one specific theme as default for all users.

The theme chooser should simply scan the /public/css/themes/ folder and list all available themes. For this, the current structure needs to be slightly changed: Each theme needs its own directory within /public/css/themes (e.g. /public/css/themes/themeOne/, /public/css/themes/themeTwo/, etc.) that contains the theme CSS file and a theme-description file (e.g. theme.php). This file needs to include important information like the theme-css-filename, the theme name, a short description and the theme author.

The database table settings needs to be extended, so it can save the currently selected theme for each user individually. Also the layout files need to be extended, so the dynamically load the right theme according to what the user has selected (-> settings-table entry).

Thoughts?

How about the ckEditor, which - unfortunately - is being themed separately so far. Could that be included into the main theme css and also loaded dynamically?

@mrusme mrusme added this to the Paperwork 3.0 milestone Feb 8, 2015
@mrusme mrusme removed this from the Paperwork 3.0 milestone Sep 28, 2016
@mrusme mrusme added the 1 Paperwork v1 label May 3, 2019
@mrusme mrusme closed this as completed May 3, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

1 participant