[SOLVED] Apply button not working, have to Submit

For questions and problems with the CMS core. This board is NOT for any 3rd party modules, addons, PHP scripts or anything NOT distributed with the CMS made simple package itself.
Post Reply
Cerulean
Forum Members
Forum Members
Posts: 172
Joined: Mon Nov 01, 2010 8:56 am

[SOLVED] Apply button not working, have to Submit

Post by Cerulean »

When editing stylesheets or templates, if I use the apply button the changes aren't reflected on the live site, but if I use the submit button they are.
Does anyone know what could be causing this problem? I'm using v1.9.3.
Thanks.
Last edited by Cerulean on Tue Feb 08, 2011 10:36 pm, edited 1 time in total.
User avatar
Dr.CSS
Moderator
Moderator
Posts: 12711
Joined: Thu Mar 09, 2006 5:32 am

Re: Apply button not working, have to Submit

Post by Dr.CSS »

Most likely it has to do with using {cms_stylesheet} as this uses the tmp/cache folder to hold them and it may not know to refresh them till submit, only thing I can think of besides clearing your browser cache or doing a hard refresh...
Cerulean
Forum Members
Forum Members
Posts: 172
Joined: Mon Nov 01, 2010 8:56 am

Re: Apply button not working, have to Submit

Post by Cerulean »

Thanks for your reply. I always do a hard refresh when checking changes, and changes that have been "Applied" but not submitted are not shown.
Regarding using {cms_stylesheet}, is this not the correct method of attaching stylesheets? Is there another technique I should be using?
User avatar
Dr.CSS
Moderator
Moderator
Posts: 12711
Joined: Thu Mar 09, 2006 5:32 am

Re: Apply button not working, have to Submit

Post by Dr.CSS »

That is the new style sheet tag...
Cerulean
Forum Members
Forum Members
Posts: 172
Joined: Mon Nov 01, 2010 8:56 am

Re: Apply button not working, have to Submit

Post by Cerulean »

If it's the tag that's currently recommended for attaching stylesheets, and the cache isn't refreshing on Apply, then I guess we can call that a bug... can anyone else running v1.9.3 confirm?
Cerulean
Forum Members
Forum Members
Posts: 172
Joined: Mon Nov 01, 2010 8:56 am

Re: Apply button not working, have to Submit

Post by Cerulean »

Okay, I have found the source of the problem, which is the CodeMirror module. When I disable syntax highlighting in User Preferences my Apply button works again.
This is a real shame as syntax highlighting is very useful. Hopefully this will be solved in a CodeMirror update soon.

Edit: this bug has already been submitted: http://dev.cmsmadesimple.org/bug/view/6019

I've installed EditArea and it seems to be an excellent alternative to CodeMirror.
Post Reply

Return to “CMSMS Core”