Themes ::: theme_photo
Maintained by Me!Damyon Wiese
This theme is meant as an example of how to create a theme extending Boost. It also provides useful settings for adding photo backgrounds to all pages Moodle.
Latest release:
188 sites
29 fans

This theme was developed along with the developer documentation page:

It shows how to cleanly extend the Boost theme and add several useful new settings to a theme. 

Theme icon from


Screenshot #0


Damyon Wiese (Lead maintainer)
Please login to view contributors details and/or to contact them

Comments RSS

Show comments
  • Wed, Dec 21, 2016, 5:27 PM
    Hi Damyon,

    Thanks for sharing this with the community! - nice to see really well structured and well commented code. I can see your theme being used as a template for many new themes based on Boost! - My +1 for approval in the plugins db!
  • Thu, Dec 29, 2016, 3:20 AM
    I got a message that the plugin was aborted due to maturation error.
  • Me!
    Tue, Jan 3, 2017, 10:22 AM
    Thanks for commenting - it seems like you may have tried to install this theme on a version of Moodle older than 3.2. This plugin requires Moodle 3.2 because it is a child theme of the new "Boost" theme which was added in this version.
  • Me!
    Tue, Jan 3, 2017, 11:41 AM
    Actually I just updated the version.php to use a float instead of a string for the version number. This should solve any install issues with the plugin validator.
  • Ricardo Caiado
    Thu, Jan 5, 2017, 8:51 PM

    Is there any demo site?

  • Mon, Feb 13, 2017, 11:09 AM
    Hi Damyon -
    Thank you for the Photo theme.
    I have installed the plugin on moodle 3.2.1+ and set it as the site theme.
    Having some trouble. Here is what I did:

    1. Set defaultbackgroundimage to an image; this had no effect; I did not see the background photo anywhere.

    2. Set defaultbackgroundimage back to Empty.

    3. Set loginbackgroundimage to an image; I can see the image on the login screen; looks good.

    4. Set the image for Frontpage, Dashboard, and Course to the same file I am using on the Login page.

    5. The image tiles on the Frontpage, Dashboard, and Course pages; did not like it, so I set the image back to Empty for everything except the Login page.

    6. I continue to see the image on Frontpage, Dashboard, and Course; have Purge All Caches, but continue to see the images on those pages. Login page is ok.

    Am I missing something. Could this have anything to do with MDL-57875?
  • Fri, Feb 17, 2017, 10:21 PM
    I've installed the theme, selected it, changed the background picture for login page, but nothing is there. Doesn't work! Any solutions?
  • Fri, Feb 17, 2017, 11:03 PM
    Reporting the same problem as Mark Hayes described. I have now the background picture for login page, but the default background picture doesn't disappear, even if I have deleted it already and cleaned theme cash.
  • Me!
    Mon, Feb 20, 2017, 10:12 AM
    Thanks for the reports - I just released a new version which allows you to delete an image from a setting properly.
  • Mon, Feb 20, 2017, 1:18 PM
    Thank you for the update Damyon.
    I have installed the update and then removed all backgrounds from the Photo settings page.
    But a background image for the Home page continues to show. I have purged all caches.
    Do I need to first uninstall the plugin before doing the upgrade? (Not normally required during plugin updates. Just thinking out loud.)

    Two other questions:
    1. Is it necessary to purge all caches each time a change is made to the theme?
    2. For pages other than the Login page, does the image have to be one that fades on the bottom edge? How to avoid vertical tiling of the image on long pages?
  • Tue, Feb 21, 2017, 7:46 AM
    Damyon - Some more test results. I switched themes from Photo back to Boost, and all backgrounds were gone. Purged all caches. Then switched from Boost to Photo, and I see the background image for the Home page again (all background images are disabled in the Photo settings).
  • Me!
    Tue, Feb 21, 2017, 9:14 AM
    If you had the problem with images not being removed and have now updated to the latest version you will have to go to the theme settings page and add each image and then remove it again to purge the old images from the system.
  • Tue, Feb 21, 2017, 11:14 AM
    Enabling all the backgrounds and then disabling them has fixed the problem Damyon. Lingering background image for the Home page is gone. Many thanks for that.

    Another question:
    For pages that are long [not the Login page], do you have some tips for preventing the image from tiling vertically? A simple colored background would work ok, but any sort of graphic image is tiling.
  • Me!
    Tue, Feb 21, 2017, 1:25 PM
    You could try:
    body {
    background-repeat: no-repeat;

    In the "Raw SCSS" setting.
Please login to post comments