How to add global content blog in cmsms 2.2.2

The place to talk about things that are related to CMS Made simple, but don't fit anywhere else.
Post Reply
rahulu
Forum Members
Forum Members
Posts: 17
Joined: Tue Jan 19, 2016 5:30 am

How to add global content blog in cmsms 2.2.2

Post by rahulu »

Hi Everyone,

I am little confused about the use of global content block in the new version of cmsms.

Please suggest.
User avatar
velden
Dev Team Member
Dev Team Member
Posts: 3483
Joined: Mon Nov 28, 2011 9:29 am
Location: The Netherlands

Re: How to add global content blog in cmsms 2.2.2

Post 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'}
User avatar
Rolf
Power Poster
Power Poster
Posts: 7825
Joined: Wed Apr 23, 2008 7:53 am
Location: The Netherlands
Contact:

Re: How to add global content blog in cmsms 2.2.2

Post 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
- + - + - + - + - + - + -
LATEST TUTORIAL AT CMS CAN BE SIMPLE:
Migrating Company Directory module to LISE
- + - + - + - + - + - + -
Image
rahulu
Forum Members
Forum Members
Posts: 17
Joined: Tue Jan 19, 2016 5:30 am

Re: How to add global content blog in cmsms 2.2.2

Post by rahulu »

Thank you velden and Rolf.
I will go through your suggestions.
Post Reply

Return to “The Lounge”