Page 2 of 2

Re: [SOLVED] How to check, if global content block is empty

Posted: Wed Oct 16, 2013 2:20 pm
by Rolf
urheat wrote:I made a website for a hotel. Sometimes, for example in specific seasons, they have some extra offers and so on. This offer is one GCB that is shown in front page if it is not empty. Of course I could make this using news, but I think that it is easier for editor to understand UI when "news are news". Using GCBs they can update for example footer and this offer area. For editors GCBs are easy to use.
Sounds like you need to use the Custom Global Settings module instead... http://dev.cmsmadesimple.org/projects/customgs It is created for this purpose. You can create a WYSIWYG field and show it on the frontend. And it CAN be empty! But you can also use a checkbox to show or not show some content!

See also http://wiki.cmsms.nl/index.php/CustomGS

Rolf

Re: [SOLVED] How to check, if global content block is empty

Posted: Thu Oct 17, 2013 5:01 am
by urheat
Rolf wrote:
urheat wrote:I made a website for a hotel. Sometimes, for example in specific seasons, they have some extra offers and so on. This offer is one GCB that is shown in front page if it is not empty. Of course I could make this using news, but I think that it is easier for editor to understand UI when "news are news". Using GCBs they can update for example footer and this offer area. For editors GCBs are easy to use.
Sounds like you need to use the Custom Global Settings module instead... http://dev.cmsmadesimple.org/projects/customgs It is created for this purpose. You can create a WYSIWYG field and show it on the frontend. And it CAN be empty! But you can also use a checkbox to show or not show some content!

See also http://wiki.cmsms.nl/index.php/CustomGS

Rolf
Thanks Rolf - I definitely have to check this. My approach though is that I try to avoid modules as much as I can and try to use core modules only. Updating is easier and the site a bit more stable.