Why don't plugin theme directories have a "template" subdirectory?
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Mahara |
Fix Released
|
Medium
|
Aaron Wells |
Bug Description
In working on Bug 1231755, I realized that plugin theme directories don't have separate "static" and "templates" subdirectories like core theme directories. They do have a "static" subdirectory, but the templates just sit loose inside the theme directory.
Expected: /blocktype/
Actual: /blocktype/
Since we're going to be making the plugin theme directories less prominent via Bug 1231755, we should make their behavior less irregular so that when it is used, it's easy to figure out. Which means that we should add a "templates" directory first in the search path.
In order to support older plugins that don't have a "templates" directory, though, we should continue to look for them loose in the theme directory as well.
Changed in mahara: | |
status: | New → Fix Committed |
tags: | added: nominatedfeature |
Changed in mahara: | |
importance: | Undecided → Medium |
assignee: | nobody → Aaron Wells (u-aaronw) |
Changed in mahara: | |
status: | Fix Committed → Fix Released |
Patch for "master" branch: https:/ /reviews. mahara. org/3426