After uploading the image files for the frontpage slideshow in the theme settings, the front page works as it should. However, on a few occasions, after I rebooted the server and returned to the theme settings, the Slide XX Image field becomes blank (as it was at the beginning). It is somehow not persistent. I haven't had time to look into the code to see where these field values are being stored.
I increased the default 3 slides to 5, in case it matters.
All 5 x Slide XX Image fields reset to blank. Strange, I just also noticed that the actual jpg files that were once in /sites/default/files after upload have now been removed.
Comments
Comment #2
andypostLooks like files are not set permanent after upload, this totally breaks site
Comment #3
gabocharrua commentedI have the same issue.
I uploaded the images for the slideshow, and after 24/48 hs they disappear!! It happens already 4 times in 6 days.
And since there is no image (it doesnt go back to the default images) home page loads without any css!!
Any idea?
Comment #4
vojta commentedI have same problem. This is making the theme (very nice, otherwise), unusable.
Comment #5
prasannag commentedComment #6
prasannag commentedCustom callback is given at line 216 of sales_zymphonies_theme.theme file, to save the files permanent.
But we don't need a submit callback as the admin settings page is reloaded after form submission.
So, adding a code snippet to execute when the theme settings are loaded.
*A couple of spelling corrections are also made in the same patch.
Uploading the patch.
Comment #7
vojta commentedThank You, I patched the file, I'll let You know in couple of days if it works as expected. :-)
Comment #8
zymphonies-dev commentedFixed and updated changes in latest build.
Comment #9
zymphonies-dev commented