mahara-contributors team mailing list archive
-
mahara-contributors team
-
Mailing list archive
-
Message #19418
[Bug 1328319] A change has been merged
Reviewed: https://reviews.mahara.org/3426
Committed: http://gitorious.org/mahara/mahara/commit/aada15e779b68f0bbd58c298a97405d31bf77c7d
Submitter: Yuliya Bozhko (yuliya.bozhko@xxxxxxxxx)
Branch: master
commit aada15e779b68f0bbd58c298a97405d31bf77c7d
Author: Aaron Wells <aaronw@xxxxxxxxxxxxxxx>
Date: Tue Jun 10 12:25:10 2014 +1200
Expect plugin theme directories to have a "templates" subdirectory
Bug 1328319. Still keeping the old location in the search path as well,
for backwards-compatibility.
Change-Id: Iee2c908bad933a3942f103df6f827ace3beee259
--
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:
Fix Committed
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