Hi,
I was just wondering whether it is possible to change the theme programatically depending on who the current logged in user is? Can someone tell me how to do this.
Thanks
Hi John,
I'm not sure about 'programmatically' but if you enable user themes in Site Admin > Appearance > Themes > Theme Settings, each user can then set a theme on their profile page. You can limit the choice of themes by creating a list on the theme settings page as well.
Richard
Dear All,
i have a similar question .I have set force theme courses ,as we have multiple courses running on same instanse.
and i have set user theme in their profile for admin and teachers.is there any way i can stop overwriding user theme by course theme.
Hope i am making sense thanks in advance
Arjun
Read the whole of this discussion. Admins can set a theme for a Student in the student's profile. However these themes can be overridden if course themes have been set too. To make the User theme dominate this action you would also need to add some php markup into your Moodle site's config.php.
Read Tim's comment above.
Cheers
Mary