Note: You are currently viewing documentation for Moodle 2.2. Up-to-date documentation for the latest stable version is available here: Installing a new theme.

Installing a new theme: Difference between revisions

From MoodleDocs
m (change theme moved to Installing a new theme: Better name.)
 
(17 intermediate revisions by 5 users not shown)
Line 1: Line 1:
== Change Moodle Theme ==
{{Themes}}
A site administrator who has access to the Moodle code can easily install a new theme Moodle theme.  Once installed, the theme will be available via the appropriate site, category, course or activity menu.


You can easily change the moodle theme
Custom themes are available for download from the [http://moodle.org/plugins/browse.php?list=category&id=3 Moodle Plugins directory].


Steps are
==Steps to install a new theme in the code==
In this example, we will install a new theme that has been made by someone else.


1) Download the zip file of the theme
# Download the zip file of the theme [[Image:instheme01.png|thumb|400px|center|Select the theme]]
# Extract to its own named folder [[Image:instheme01a.png|thumb|center|Select the theme]]
# Using your FTP program, upload this folder to the /theme folder of your Moodle installation [[Image:instheme04.png|thumb|400px|center|Upload the unzipped file]]
#Ensure the new theme folder and its contents are readable by the webserver. Change the Read and Write permissions for the files and folder. Incorrect permissions may prevent display of the newly installed theme.
##For example in Linus use the CHMOD command in set the permissions to 755 - Owner read/write/execute, Group read/execute, Everyone read/execute. 
# Go to Site administration > Notifications to see if the new theme requires any decisions or updating of Moodle code.


2) Extract it in a folder
Now you or others can select the new theme.


3) copy this folder in the theme folder of your moodle installation site
==Steps to change the theme==
In this example, we will change our site theme to a new one that we added.  Your [[Roles|role]] will require the permissions to allow you to change themes.  Remember that themes can be changed in many [[Context|contexts]] in Moodle.


4) Go to yourdomain.com/admin/ (if you have installed the moodle in the root folder)
You may select different themes depending upon the device that will be viewing MoodleFor example, you might have one theme for computers with monitors and another for mobile phones and another for tablets.


5) login with admin username and password
# Go to the Settings block
# Open ''Settings > Site administration > Appearance > Themes > Theme Selector'' link [[Image:instheme07.png|thumb|400px|center|Open the Appearance > Theme selector page]]
# Click on "Clear theme caches" button [[Image:instheme08.png|thumb|400px|center|Click the Clear theme caches button]]
# Click on the "Select theme" button on the right of the current theme being used for the device[[Image:instheme09.png|thumb|400px|center|Click the Clear theme caches button]]
# Scroll down to find the theme you wish to use
# Click the "Use theme" button next to that theme [[Image:instheme10.png|thumb|400px|center|Click the Use theme button]]
# Moodle will tell you it has been saved as the default theme [[Image:instheme11.png|thumb|400px|center|Checking if the theme is the one selected]]
# Check your Moodle site by going to the Moodle site's home page. 
# You may have to refresh your browser to see the new theme.


6) Expand Appearance folder icon
[[de:Ein_neues_Design_installieren]]
 
7) Expand Theme folder icon
 
8) click on theme selector
 
9) Your theme picture is displaying here
 
10) First click preview link on the right side of your theme picture to preview before selection
 
11) press Choose button to select that theme
 
12) Now you can check your moodle site (e.g. yourdomain.com) by opening

Latest revision as of 16:54, 12 November 2011

A site administrator who has access to the Moodle code can easily install a new theme Moodle theme. Once installed, the theme will be available via the appropriate site, category, course or activity menu.

Custom themes are available for download from the Moodle Plugins directory.

Steps to install a new theme in the code

In this example, we will install a new theme that has been made by someone else.

  1. Download the zip file of the theme
    Select the theme
  2. Extract to its own named folder
    Select the theme
  3. Using your FTP program, upload this folder to the /theme folder of your Moodle installation
    Upload the unzipped file
  4. Ensure the new theme folder and its contents are readable by the webserver. Change the Read and Write permissions for the files and folder. Incorrect permissions may prevent display of the newly installed theme.
    1. For example in Linus use the CHMOD command in set the permissions to 755 - Owner read/write/execute, Group read/execute, Everyone read/execute.
  5. Go to Site administration > Notifications to see if the new theme requires any decisions or updating of Moodle code.

Now you or others can select the new theme.

Steps to change the theme

In this example, we will change our site theme to a new one that we added. Your role will require the permissions to allow you to change themes. Remember that themes can be changed in many contexts in Moodle.

You may select different themes depending upon the device that will be viewing Moodle. For example, you might have one theme for computers with monitors and another for mobile phones and another for tablets.

  1. Go to the Settings block
  2. Open Settings > Site administration > Appearance > Themes > Theme Selector link
    Open the Appearance > Theme selector page
  3. Click on "Clear theme caches" button
    Click the Clear theme caches button
  4. Click on the "Select theme" button on the right of the current theme being used for the device
    Click the Clear theme caches button
  5. Scroll down to find the theme you wish to use
  6. Click the "Use theme" button next to that theme
    Click the Use theme button
  7. Moodle will tell you it has been saved as the default theme
    Checking if the theme is the one selected
  8. Check your Moodle site by going to the Moodle site's home page.
  9. You may have to refresh your browser to see the new theme.