Use same theme for different courses with different settings

Use same theme for different courses with different settings

by Dasu Gunathunga -
Number of replies: 2

Hi,

I want to use same theme for few different courses. Each of these courses need some customisation for this theme. Is it possible to store setting values in course level? When we add config settings, it apply in site level (admin/settings.php?section=themesettingmytheme), not in course level. Did anyone do something similar in course level?

Appreciate your help. 



Average of ratings: -
In reply to Dasu Gunathunga

Re: Use same theme for different courses with different settings

by Richard Oelmann -
Picture of Core developers Picture of Particularly helpful Moodlers Picture of Plugin developers Picture of Testers
Not as such, but you can use the course-id body class that Moodle has to target any css customisation and just add them to your customcss/rawscss setting or style sheet

Average of ratings: Useful (2)
In reply to Dasu Gunathunga

Re: Use same theme for different courses with different settings

by Neill Magill -
Picture of Core developers Picture of Peer reviewers Picture of Plugin developers
If your theme is for a version of Moodle (3.7+) that allows you to set custom parameters for courses you maybe able to use those to store the settings you want your theme to use on a course.