Page 1 of 1
How to add global content blog in cmsms 2.2.2
Posted: Wed Jun 13, 2018 7:06 am
by rahulu
Hi Everyone,
I am little confused about the use of global content block in the new version of cmsms.
Please suggest.
Re: How to add global content blog in cmsms 2.2.2
Posted: Wed Jun 13, 2018 8:44 am
by velden
Hi,
It depends on your goal. Do you want it to be editable by your customer(s) or do you want to use them for 'templating'?
Customer editable:
https://docs.cmsmadesimple.org/introduc ... table-gcbs
For templating, you don't want editors to be able to change it. Just create a template in Desing Manager of type Core::Generic. Note that you won't have a WYSIWYG editor available here. This should not be needed for a web dev.
You can then include this 'generic template' in other (page) templates with the following tag:
Code: Select all
{include file='cms_template:TEMPLATE_NAME'}
Re: How to add global content blog in cmsms 2.2.2
Posted: Wed Jun 13, 2018 8:56 am
by Rolf
In case of editing by editors, you can also use
http://dev.cmsmadesimple.org/projects/cgsc module
For template purposes I would suggest you forget about the GCB's and read this post instead
http://cms.ms/AJ02 Template Inheritance is really great and much more flexible!!
grtz. Rolf
Re: How to add global content blog in cmsms 2.2.2
Posted: Wed Jun 13, 2018 9:22 am
by rahulu
Thank you velden and Rolf.
I will go through your suggestions.