Use Global Content Block from another CMS MS web site

For questions and problems with the CMS core. This board is NOT for any 3rd party modules, addons, PHP scripts or anything NOT distributed with the CMS made simple package itself.
Post Reply
simon.romin
Forum Members
Forum Members
Posts: 65
Joined: Tue Jul 13, 2010 9:31 am

Use Global Content Block from another CMS MS web site

Post by simon.romin »

Hi guys

I currently have five web sites using CMS Made Simple - amazing software.

My question is this:

Can I use a Global Content Block from an external web site running CMS MS?

The reason is because all of my web sites have a consistent footer. I use a Global Content Block for my footer. But if I need to update the footer, then I need to update all five web sites individually. It would be easier if I could update just one and all the rest update too.

I hope this request makes sense. I look forward to your help. Many thanks

Simon
calguy1000
Support Guru
Support Guru
Posts: 8169
Joined: Tue Oct 19, 2004 6:44 pm
Location: Fernie British Columbia, Canada

Re: Use Global Content Block from another CMS MS web site

Post by calguy1000 »

Simple:

In your master site:
a: create a new template with just {content}
b: create 5 new pages, in the content area just call each GCB.
- make sure the show-in-menu checkbox is unclicked. specify the
aliases to match the gcb names.

In your slave sites:
modify the template(s) replace the gcb call with something like:
{fetch file=http://mymastersite.com/index.php?page=gcb_name}

Bonus points:
a: Use one page in the master site and just specify the name of the GCB in a GET parameter.
b: use {cge_cache} (CGExtensions module) to cache the calls so that each request on a slave site does not result in a request to the master site.
Follow me on twitter
Please post system information from "Extensions >> System Information" (there is a bbcode option) on all posts asking for assistance.
--------------------
If you can't bother explaining your problem well, you shouldn't expect much in the way of assistance.
simon.romin
Forum Members
Forum Members
Posts: 65
Joined: Tue Jul 13, 2010 9:31 am

Re: Use Global Content Block from another CMS MS web site

Post by simon.romin »

Thanks Calguy, I'll give that a try.

Appreciate the quick response.
Post Reply

Return to “CMSMS Core”