Moodle Plugins directory: Photo | Moodle.org

Photo
Themes ::: theme_photo
Maintained by
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:
112 sites
33 downloads
31 fans
Current versions available: 1
This theme was developed along with the developer documentation page: https://docs.moodle.org/dev/Creating_a_theme_based_on_boost
It shows how to cleanly extend the Boost theme and add several useful new settings to a theme.
Theme icon from openclipart.org: https://openclipart.org/detail/76255/slr-camera
Contributors
Damyon Wiese (Lead maintainer)
Please login to view contributors details and/or to contact them
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!
Is there any demo site?
Ricardo
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?
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?
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.
body {
background-repeat: no-repeat;
}
In the "Raw SCSS" setting.