Cheshir Posted March 1, 2017 Posted March 1, 2017 IPS v.4.1.18.2 Do not take effect changes to settings. Settings are saved, but their effect is not working. If the plugin update by using an xml file, the previously saved settings are applied. What could be the reason?
Faqole Posted March 1, 2017 Posted March 1, 2017 Are the settings added in the Developer Center as well?
Cheshir Posted March 1, 2017 Author Posted March 1, 2017 7 minutes ago, Petja said: Are the settings added in the Developer Center as well? yes. In the local version, where he developed the plugin, everything works fine, but moving to another local server or the web server settings are saved, but not working...
Faqole Posted March 1, 2017 Posted March 1, 2017 2 hours ago, Cheshir said: yes. In the local version, where he developed the plugin, everything works fine, but moving to another local server or the web server settings are saved, but not working... Can you please post here the code of your plugin 's setting file?
Cheshir Posted March 2, 2017 Author Posted March 2, 2017 Not only apply those settings that are associated with css, for example, changing the background color. Searching the reason, found not updated temporary file css, in the folder \ uploads \ css_built. If you turn off and then turn on the plugin, the css file is updated and the settings are applied.
newbie LAC Posted March 2, 2017 Posted March 2, 2017 13 minutes ago, Cheshir said: Not only apply those settings that are associated with css, for example, changing the background color. Searching the reason, found not updated temporary file css, in the folder \ uploads \ css_built. If you turn off and then turn on the plugin, the css file is updated and the settings are applied. https://invisionpower.com/forums/topic/407858-how-to-use-setting-in-cssjs-files/#comment-2643840
Cheshir Posted March 2, 2017 Author Posted March 2, 2017 23 minutes ago, newbie LAC said: https://invisionpower.com/forums/topic/407858-how-to-use-setting-in-cssjs-files/#comment-2643840 \IPS\Theme::deleteCompiledCss( 'core', 'front', 'custom' ); Worked!! Thank you very much!
Cheshir Posted March 2, 2017 Author Posted March 2, 2017 Pffff ... On the test server all the settings work fine, but on the Web server is not running hooks, which are responsible for the change template html...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.