open-lms-open-source / moodle-theme_snap

GNU General Public License v3.0
79 stars 75 forks source link

Theme poster doesn't get render if imported #167

Open juanda99 opened 4 years ago

juanda99 commented 4 years ago

I just try to import my Snap settings using cli with Moosh:

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?