Allow theme change by URL: Difference between revisions
Mary Evans 2 (talk | contribs) |
Mary Evans 2 (talk | contribs) |
||
Line 2: | Line 2: | ||
== Site Administration > Appearance > Themes > Theme settings == | == Site Administration > Appearance > Themes > Theme settings == | ||
Enabling this setting in Moodle 2.0+ themes allows you to change theme by adding either ?theme= or &theme= depending on where you are at the time you want to swap to another theme. | Enabling this setting in Moodle 2.0+ themes allows you to change theme by adding either '''?theme=''' or '''&theme=''' (followed by the theme name you wish to change to) depending on where you are at the time you want to swap to another theme. | ||
'''For Example:''' | '''For Example:''' | ||
If you are at the front page of your site that add '''?theme=''' | |||
:: http://localhost/moodle28/?theme=essential | :: http://localhost/moodle28/?theme=essential | ||
will change from your present theme to the Essential theme layout. | after clicking the Enter tab on your keyboard. this will change from your present theme to the Essential theme layout, providing or course that you have that theme installed in your Moodle site. | ||
Alternatively if you are in a course page then add | Alternatively if you are in a course page then add the following to the end of the url that you see in your browser address bar... | ||
:: &theme=essential | :: http://localhost/moodle28/course/view.php?id=3&theme=essential | ||
will change theme to Essential after clicking the Enter tab on your keyboard. |
Revision as of 23:59, 10 February 2015
Site Administration > Appearance > Themes > Theme settings
Enabling this setting in Moodle 2.0+ themes allows you to change theme by adding either ?theme= or &theme= (followed by the theme name you wish to change to) depending on where you are at the time you want to swap to another theme.
For Example: If you are at the front page of your site that add ?theme=
after clicking the Enter tab on your keyboard. this will change from your present theme to the Essential theme layout, providing or course that you have that theme installed in your Moodle site.
Alternatively if you are in a course page then add the following to the end of the url that you see in your browser address bar...
will change theme to Essential after clicking the Enter tab on your keyboard.