Allowing a site user to change the theme

Allowing a site user to change the theme

by Mark Ellis -
Number of replies: 5
Hi Folks,
I am developing a moodle site for a PDA project that I am involved with. I would like the users to be able to login to the site and then change the theme to the orangewhitepda theme if they are viewing the site via their pda. I have changed the site settings to allow this and set the two themes that I want them to use, but I cannot see anywere on the site a button or dropdown theme changer once a user has logged in .. any ideas would be greatfully accepted.
Average of ratings: -
In reply to Mark Ellis

Re: Allowing a site user to change the theme

by Mark Stevens -
It's in the user profile.  Click "Edit profile" then look about halfway down for "Preferred theme".
Average of ratings:Useful (1)
In reply to Mark Stevens

Re: Allowing a site user to change the theme

by Mark Ellis -
Thanks for that Mark... but is there a way to allow them to change the theme themselves?
In reply to Mark Ellis

Re: Allowing a site user to change the theme

by A. T. Wyatt -
If your users cannot change themes in the edit profile page, it might be that your administrator has not allowed this.  If you are the admin, you can change this easily (or request that it be changed).

Go to:  http://your_moodle_site/moodle/admin/config.php

(or click on the configuration link in the administration block and look for "variables").  You will come to a page with a long list of settings.

Look for allowuserthemes:.  It should be about the 10th item from the top.  You can set this to YES.

Student settings cannot override a course theme, so your pda courses should not specify a theme.

I hope that works for you!
atw
Average of ratings:Useful (1)
In reply to A. T. Wyatt

Re: Allowing a site user to change the theme

by Mark Stevens -
I should have been more specific smile

As A.T. mentioned, Site AND Course settings must be set to allow users to choose a theme on the "Edit profile" page.
Average of ratings:Useful (1)
In reply to Mark Ellis

Re: Allowing a site user to change the theme

by Urs Hunkler -
Picture of Core developers

Hi Mark,

you can set themes as "Session Theme" in Moodle with the URL. Put the URL for example into a HTML sideblock. Please read about theme settings and how the "Session Theme" works in the section "Theme Config in the Moodle Documentation".

Can you please give feedback how "orangewhitepda" works for you and your users. I created the theme after a discussion in the forums but never got any feedback about it.

I hope this helps
Urs

Average of ratings:Useful (1)