← Back to team overview

mahara-contributors team mailing list archive

[Bug 793308] Re: When a member of multiple institutions, decide which theme to use

 

I noticed that $cfg->themeprefs no longer does anything. It turns out
there was a change in the decision of whether or not to use it, which is
buried in the gerrit review notes on: https://reviews.mahara.org/1506

$cfg->themeprefs has been replaced with $cfg->sitethemeprefs

Test cases:

1. If $cfg->sitethemeprefs is set to false
1.1 If users belong to only 'No institution' (mahara), their theme will be the site's theme and the setting Theme will not be available.
1.2 If users belong to one institution e.g. 'School A', their theme will be the School A's theme and the setting Theme will not be available.
1.3 If users belong to more than 1 institution e.g. 'School A', 'School B', and 'School C', the setting Theme will be available and they can choose one of institution's themes as their preferred theme such as School B's theme including the institution configurable theme and logo.

2. If $cfg->sitethemeprefs is set to true, the setting Theme will be available and
2.1 If users belong to only 'No institution' (mahara), they can choose one of standard site's themes as their preferred theme.
2.2 If users belong to one institution e.g. 'School A', they can choose one of standard site's themes and the theme of their institution (School A) as their preferred theme.
2.3 If users belong to more than 1 institution e.g. 'School A', 'School B', and 'School C', they can choose one of standard site's themes and other themes of their institutions as their preferred theme.

I'm going to update config-defaults.php to represent this, in
https://bugs.launchpad.net/mahara/+bug/1185297

-- 
You received this bug notification because you are a member of Mahara
Contributors, which is subscribed to Mahara.
Matching subscriptions: Subscription for all Mahara Contrib members
https://bugs.launchpad.net/bugs/793308

Title:
  When a member of multiple institutions, decide which theme to use

Status in Mahara ePortfolio:
  Fix Released

Bug description:
  When institutions have a custom theme in Mahara, it is applied.
  However, what happens when you are a member of two or even more
  institutions? Which theme is chosen then?

  It would be good for a user to be able to choose her default theme and
  not let Lady Fortuna ;-) decide that for her. E.g. if a teacher is a
  member of her school institution but at the same time also of an
  organizational community that both have custom themes, she may only
  want to see her school theme except when she is in a training session
  and during a presentation of her work in the community. At the moment,
  the organizational community's theme may always be the one that is
  visible which can be disadvantageous when she wants to demo her
  portfolio during school activities when everybody else has the school
  theme displayed.

To manage notifications about this bug go to:
https://bugs.launchpad.net/mahara/+bug/793308/+subscriptions


References