moodle-theme_snap
moodle-theme_snap copied to clipboard
Theme poster doesn't get render if imported
I just try to import my Snap settings using cli with Moosh:
- moosh version: 0.32
- moodle version: 3.7.6
- database: MariaDB 10.4
- php version: 7.3
- operating system: Debian 10
Poster image doesn't get rendered. It appears in the administrator -> appearance-> Theme snap menu.
I tried removing cache with php admin/cli/purge_caches.php
, with no success.
It only gets "activated" after clicking on Save changes button (in the administrator -> appearance-> Theme snap menu), though no changes have been made.
I can see this code added to index.php:
<style>#page-site-index #page-header, #page-login-index #page {background-image: url(http://aratest.catedu.es/pluginfile.php/1/theme_snap/coverimage/1590041403/site-image.jpg);}</style>
I guess it's template fault and nothing to do with Moosh. Any suggestion or hack to be done so we can configure (import) theme completly unattended?