Page 1 of 1

Global content blocks dissapearing

Posted: Thu Oct 19, 2017 7:29 am
by The50
Hello, I have a system with an old 1.11.6 CMS Made Simple version, and there is this problem that sometimes all of the sudden some of the global content blocks created just disappears and doesn't show anything. If I go to that block via backend - all the content is still inside it and if I make a slight change, as example - put an empty space anywhere in the document and click save - all the disappeared content shows again. Do you have any idea what could be the problem? Can it be a cache problem?

Re: Global content blocks dissapearing

Posted: Fri Oct 20, 2017 12:25 pm
by paulbaker
This was a known problem and mentioned in the forum on quite a few topics, I saw the problem on a few of my sites.

This was the main thread about it:
viewtopic.php?f=8&t=68368&hilit=+Global+Content+Blocks

Upgrading cures it - and you need to upgrade anyway because you are well out of date.

Start here and post on the forum if you get stuck:
https://docs.cmsmadesimple.org/upgrading/old-versions

Re: Global content blocks dissapearing

Posted: Fri Oct 20, 2017 1:39 pm
by The50
Thank you very much. Yeah I guess there is nothing much left but to try to upgrade the system. :) Will do.

Re: Global content blocks dissapearing

Posted: Wed Dec 13, 2017 4:10 pm
by (M)
If you have more content blocks and make these al together available for an Editor than you can use the solution with a 'Global Content Template' and a page; https://docs.cmsmadesimple.org/introduc ... table-gcbs

The disadvantage of this, is mentioned in this threat: viewtopic.php?f=2&t=74945
Note that at this time for page_attr to work the specific page has to be 'active'. But as per my request in next versions of CMSMS there will be a parameter to allow for inactive pages too. So then you can inactivate the global settings page so it will be impossible to 'call' the page on frontend even if one knows/guesses the alias (not a biggy but better IMO).
I hope it will be implemented once.

An alternative can be CGSharedContent: http://dev.cmsmadesimple.org/projects/cgsc