mahara-contributors team mailing list archive
-
mahara-contributors team
-
Mailing list archive
-
Message #19322
[Bug 1328319] A patch has been submitted for review
Patch for "master" branch: https://reviews.mahara.org/3426
--
You received this bug notification because you are a member of Mahara
Contributors, which is subscribed to Mahara.
Matching subscriptions: Subscription for all Mahara Contributors -- please ask on #mahara-dev or mahara.org forum before editing or unsubscribing it!
https://bugs.launchpad.net/bugs/1328319
Title:
Why don't plugin theme directories have a "template" subdirectory?
Status in Mahara ePortfolio:
New
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/creativecommons/theme/raw/templates/statement.tpl
Actual: /blocktype/creativecommons/theme/raw/statement.tpl
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.
To manage notifications about this bug go to:
https://bugs.launchpad.net/mahara/+bug/1328319/+subscriptions
References