Comment 4 for bug 1303551

Revision history for this message
Nathan Lewis (nathan-lewis) wrote : Re: [Bug 1303551] Re: Allow new user default view templates to be edited

Hi Aaron.

I'd initially thought of the idea of putting them in with Admin->Pages and
had it half working like that, but then changed my mind. I can't remember
why. I'll have another look and figure out why, since that reason might not
be valid any more. Oh, I remember. I tried modifying the function that gets
the pages, to return the templates as well, but it was going to be messy.
Maybe I could make two calls to get all the pages and templates. I'll have
a look.

I had briefly thought of institution templates but didn't bother thinking
it through. Is it important? I believe the institution's theme will be
applied since you can't set theme on the template. Will that not be
sufficient?

The patch that follows this is supposed to be the ability to lock the user
profiles and a "reset" button to reset them to the template. I talked to
Yuliya and we agreed that it should only be profiles that should be
lockable/resetable, not dashboard and group about. The idea is that
profiles can (possibly) be viewed site wide or even by external users, so
we want them consistent, whereas dashboard is personal. I'm not sure what
to say about group about. I also thought about what to do with customized
profiles when the locking is activated - maybe change the profile to a
portfolio page. But that has it's own problems - what if it's already
locked and the admin makes a small change - everyone ends up with another
copy of the profile in their portfolio. I've just had another idea - what
if we could redirect everyone to the template if it is locked, then we
don't need to delete or modify the user profile pages - they can edit them
and open them, but it says "This profile page is being overridden by the
template".

Any comments on any of the above?

Nathan

On 10 April 2014 15:24, Aaron Wells <email address hidden> wrote:

> It's also worth noting, the first two things that users are going to ask
> for once they see this new functionality:
>
> 1. The ability for institutions to customize these templates
>
> 2. The ability to edit the pages of already-created users and groups.
>
> I'm okay with taking an incremental approach, and adding these things
> later. :) Plus, there are some difficult questions involved in item #2
> above, at least if you care about not wiping out the user's own
> customizations to their homepage.
>
> --
> You received this bug notification because you are subscribed to the bug
> report.
> https://bugs.launchpad.net/bugs/1303551
>
> Title:
> Allow new user default view templates to be edited
>
> Status in Mahara ePortfolio:
> In Progress
>
> Bug description:
> We want to allow admins to edit the default profile, dashboard and
> group 'about' pages that are generated when a new user or group is
> created.
>
> The patch adds a subtab item 'Templates' under 'Configure site'.
> There, admins can edit the three templates. Only layout and content
> can be edited. Changes to these templates only affect users and groups
> that are created after the changes are made.
>
> Version: master
>
> To manage notifications about this bug go to:
> https://bugs.launchpad.net/mahara/+bug/1303551/+subscriptions
>