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
Use Global Content Block from another CMS MS web site
-
- Forum Members
- Posts: 65
- Joined: Tue Jul 13, 2010 9:31 am
-
- 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
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.
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.
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.
-
- Forum Members
- Posts: 65
- Joined: Tue Jul 13, 2010 9:31 am
Re: Use Global Content Block from another CMS MS web site
Thanks Calguy, I'll give that a try.
Appreciate the quick response.
Appreciate the quick response.