• twitter image
  • facebook image
  • youtube image
  • linkedin image
Language: CMS Made Simple Czech CMS Made Simple France CMS Made Simple Hungary CMS Made Simple Russia CMS Made Simple Netherlands

All times are UTC




Post new topic Reply to topic  [ 4 posts ] 
Author Message
 Post subject: How to add global content blog in cmsms 2.2.2
PostPosted: Wed Jun 13, 2018 7:06 am 
Offline
Forum Members
Forum Members

Joined: Tue Jan 19, 2016 5:30 am
Posts: 12
Hi Everyone,

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

Please suggest.


Top
  Profile  
 
Share On:
Share on Facebook Share on Twitter Share on Google+
 Post subject: Re: How to add global content blog in cmsms 2.2.2
PostPosted: Wed Jun 13, 2018 8:44 am 
Offline
Dev Team Member
Dev Team Member

Joined: Mon Nov 28, 2011 9:29 am
Posts: 3007
Location: The Netherlands
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:
{include file='cms_template:TEMPLATE_NAME'}


Top
  Profile  
 
Share On:
Share on Facebook Share on Twitter Share on Google+
 Post subject: Re: How to add global content blog in cmsms 2.2.2
PostPosted: Wed Jun 13, 2018 8:56 am 
Offline
Dev Team Member
Dev Team Member
User avatar

Joined: Wed Apr 23, 2008 7:53 am
Posts: 7561
Location: The Netherlands
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

_________________
Image

Did my post help you solving a problem at your (customers) website and it saved you many hours of work? Great!! Consider buying me a cup of coffee in return! [ Click here ]



Top
  Profile  
 
Share On:
Share on Facebook Share on Twitter Share on Google+
 Post subject: Re: How to add global content blog in cmsms 2.2.2
PostPosted: Wed Jun 13, 2018 9:22 am 
Offline
Forum Members
Forum Members

Joined: Tue Jan 19, 2016 5:30 am
Posts: 12
Thank you velden and Rolf.
I will go through your suggestions.


Top
  Profile  
 
Share On:
Share on Facebook Share on Twitter Share on Google+
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 4 posts ] 

All times are UTC


Who is online

Users browsing this forum: No registered users


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
A2 Hosting