mahara-contributors team mailing list archive
-
mahara-contributors team
-
Mailing list archive
-
Message #16254
[Bug 1237013] A change has been merged
Reviewed: https://reviews.mahara.org/2586
Committed: http://gitorious.org/mahara/mahara/commit/7aaeb1c405e0c4e8775f18915fa75489b1e52bad
Submitter: Robert Lyon (robertl@xxxxxxxxxxxxxxx)
Branch: master
commit 7aaeb1c405e0c4e8775f18915fa75489b1e52bad
Author: Robert Lyon <robertl@xxxxxxxxxxxxxxx>
Date: Wed Oct 9 08:07:38 2013 +1300
Allowing a theme to disable skins from being viewed (bug 1237013)
To get a theme to stop showing skins on portfolio pages add this
to the theme's themeconfig.php
$theme->skins = false;
When you go to add a skin to a page it will warn you that skins are
incompatible with this theme - you still can add a skin to the page
but it will not show up when you view the page.
Also if 'Page themes' are turned on it will warn you that the chosen
page theme for the page is not compatible with skins.
Change-Id: I694bf14dffddd12373c4079b57c047fa509ab7b7
Signed-off-by: Robert Lyon <robertl@xxxxxxxxxxxxxxx>
--
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/1237013
Title:
Allow theme to turn off skins
Status in Mahara ePortfolio:
Fix Committed
Bug description:
Say you made a special theme, like a moderator one, where the set of
things one can access is a subset of all things one can access (eg
less artefact options) and you thought hey I don't want this theme to
have access to making/editing/displaying skins.
So you'd want the theme to be able to turn off skins.
To manage notifications about this bug go to:
https://bugs.launchpad.net/mahara/+bug/1237013/+subscriptions
References