impresspages / ImpressPages

ImpressPages is php framework with admin panel. Build functional website in one hour.
http://www.impresspages.org
Other
501 stars 178 forks source link

Theme options reload not working in pages other than home #762

Open jeffwsw opened 8 years ago

jeffwsw commented 8 years ago

I found that in the default installation you can change the theme options of the home page and click Save and it will save and reload with the correct colors.

But if you open the theme options, click on the second link in the main menu to go to another page rather than home and change the colors, they will change live, but after you save the pages reloads with the old styles.

The colors will appear right in the content manager but not in the theme options preview unless you refresh the whole page and open the theme options again.

I made a little video showing the issue and the errors I saw in the console.

https://www.youtube.com/watch?v=v2ThDome0lw

This happens in both firefox and chrome.

maskas commented 8 years ago

Hello,

thanks for such a detailed report. That broken images has nothing to do with the bug. There must be an issue in the way the preview is handled after the update.

jeffwsw commented 8 years ago

I also found that if you have a theme customized and you are in a secondary page and click to view defaults and save it works fine so the error only appears with custom styles.

jeffwsw commented 8 years ago

Also the background issue happens with any background image in the css, they disappear after less reload even when clicking to preview defaults.