load plugin stylesheets from theme folder
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Mahara |
Triaged
|
Wishlist
|
Unassigned |
Bug Description
Please make themes completely modular within their own folder, rather than having to create a new folder in a plugin for the theme.
Current (example):
/theme/
/interaction/
Proposed:
/theme/
/theme/
The reason for the proposed change is to make themes fully modular, specifically when dealing with a version control system, specifically that all versioning is contained in the theme folder, rather than in the mahara root folder:
Current (example)
/.git
Proposed:
/theme/default/.git
From what I can tell this only affects the following file:
/lib/web.php
specifically around lines 331-337, it seems to just require changing the get_url() call to look in the theme directory rather than the plugin directory.
Changed in mahara: | |
status: | New → Triaged |
importance: | Undecided → Wishlist |
tags: | added: themes |
tags: | added: plugins |
This would be great for people creating new themes, and I'm not saying
it shouldn't happen, but I think it's unlikely to happen any time soon.
It would make plugins non-modular, and we'd get complaints from plugin theme/raw/ artefact/ foo/static/ style/style. css, theme/default/ artefact/ foo/static/ style/style. css, etc.
developers and installers. Currently, a new artefact plugin can be
dropped in say htdocs/artefact/foo and that's it. It'd be harder to
have to put files in htdocs/artefact/foo and
htdocs/
htdocs/