Hi Everyone,
I am little confused about the use of global content block in the new version of cmsms.
Please suggest.
How to add global content blog in cmsms 2.2.2
Re: How to add global content blog in cmsms 2.2.2
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:
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
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
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
- + - + - + - + - + - + -
LATEST TUTORIAL AT CMS CAN BE SIMPLE:
Migrating Company Directory module to LISE
Migrating Company Directory module to LISE
- + - + - + - + - + - + -
Re: How to add global content blog in cmsms 2.2.2
Thank you velden and Rolf.
I will go through your suggestions.
I will go through your suggestions.