Allow a theme to specify that it has *no* parent
Bug #1410638 reported by
Aaron Wells
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Mahara |
Fix Released
|
Wishlist
|
Aaron Wells |
Bug Description
Currently *all* themes (except the "raw" theme) either have another theme as their parent, or they default to having the "raw" theme as their parent. If a theme has no $theme->parent in its themeconfig.php file, then it gets assigned the "raw" theme as its parent.
The team that's working on switching our themes to the Bootstrap framework, say that it would be useful for their development work if they could make an "alternate raw" theme that does *not* inherit from the raw theme.
So I've implemented a patch that allows a theme to specify $theme->parent = FALSE in its themeconfig.php, to indicate that it has no parent theme.
Changed in mahara: | |
assignee: | nobody → Aaron Wells (u-aaronw) |
Changed in mahara: | |
status: | In Progress → Fix Committed |
tags: | added: nominatedfeature |
Changed in mahara: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
Patch for "master" branch: https:/ /reviews. mahara. org/4177