Copyright (c) 2020 Association Cocktail, Marc-Antoine TURBET-DELOF
ChooseMyCSS is a plugin for MantisBT that allows the administrator to add some CSS files optional or mandatory for users.
Admin users create and name CSS files.
Some may be taged as mandatory. Then, they are all included for all users.
The others (not tagged as mandatory) can be chosen by stanard users to be applied in addition.
See the Change log.
The plugin requires MantisBT 2.24 (not tested on earlier releases).
- Download or clone a copy of the plugin's code.
- Copy the plugin (the
ChooseMyCSS/
directory) into your Mantis installation'splugins/
directory. - While logged in as an administrator, go to Manage → Manage Plugins.
- In the Available Plugins list, you'll find the ChooseMyCSS plugin; click the Install link.
- In the Installed Plugins list, click on the ChooseMyCSS plugin to configure it.
- Users can choose an optional CSS file in My account → Preferences.
The list of additional CSS files can be defined on the plugin's config page.
Specify, for each file, if it's optional or mandatory.
All CSS files will be used before mandatory one chosen by a user.
If you chose multi mandatory CSS files, they will be added in the order in which they are displayed.
In the plugin config page Manage → Manage Plugins → ChooseMyCSS
In user preferences page My account → Preferences or Manage → Manage Users → login → Account Preferences
If you wish to file a bug report, or have questions related to use and installation, please use the plugin's issues tracker on GitHub.
All code contributions (bug fixes, new features and enhancements, translations) are welcome and highly encouraged, preferably as a Pull Request.
The latest source code is available on GitHub.