mahara-contributors team mailing list archive
-
mahara-contributors team
-
Mailing list archive
-
Message #41033
[Bug 1668492] Re: page theme brakes when changing them settings in institution
The way that is working now:
1. If the user sets a personal theme in account settings, when it
creates a page the theme will be saved in the view table on the DB for
that page. Every time the user sees the page, it will show this theme.
Even if the user changes the theme on the account settings, the page
will be displayed with old theme.
The part of the code that does this is old, it was added before the user
could change the theme in the account settings. It was made to take the
user institution's theme.
But now, the user can change the account setting theme any time.
2. For the smart evidence collection, the matrix view (first on the
collection) will pick the theme/skin from the first page of the
collection. So if the first page has a wrong theme hardcoded in the DB,
the matrix view will show the wrong theme. Fixing the first issue will
fix this one too.
The solution I see is allowing to set the theme in view table on the DB only when
we have userscanchooseviewthemes = true and
the theme is set when we are editing page
for any other pages created, the system should decide which theme to
show based on the user, institution and site settings.
--
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/1668492
Title:
page theme brakes when changing them settings in institution
Status in Mahara:
In Progress
Bug description:
For a normal user that is part of more than one institution:
In user settings, select as a theme one of the institution themes that
is different from raw/default
Create a page, it will have the selected theme.
If we now, as a site admin, change that institution theme for
Configurable theme,
1. the page will still have the old theme.
2. When the normal user creates a smartevidence collection including that page, the first page of the collection will show the wrong theme.
To manage notifications about this bug go to:
https://bugs.launchpad.net/mahara/+bug/1668492/+subscriptions
References