← Back to team overview

mahara-contributors team mailing list archive

[Bug 1511183] Re: $CFG->sitethemeprefs don't seem to be followed with page creation

 

Huh, I didn't know that institution themes were stored as page themes. I
thought a page only had a built-in theme if you had page themes turned
on.

That certainly complicates things...

-- 
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/1511183

Title:
  $CFG->sitethemeprefs don't seem to be followed with page creation

Status in Mahara:
  New

Bug description:
  When we have in the config.php $cfg->sitethemeprefs = true; a user can
  pick what theme to view the site in.

  However if they choose a theme that is different to their institution
  theme when they create a page, the page is created using the
  institution's theme and not the theme the user has chosen.

  In the database the page is saved with view.theme = the institution
  theme.

  But the question is should the page be made with theme the user is
  currently viewing the site with (set via account settings) or what the
  institution theme is?

  And what happens when the user decides to change their account setting
  for theme? should the existing pages stay with old theme or be changed
  to new theme?

  How should users the page is sharted with view the page? With the user
  chosen theme or the institution theme?

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


References