Page 1 of 1

External access to CMSMS global content

Posted: Fri Dec 04, 2015 2:49 pm
by tomkrysl
Hi,
I use CMSMS for the main site and different system for support site. I want to show page header and footer from main site in this support site. These are defined in CMSMS as global_content. Can I access this global content from the support system page generator script? The support system is written in PHP as well.

Thank you very much!

Re: External access to CMSMS global content

Posted: Fri Dec 04, 2015 4:38 pm
by calguy1000
Accessing CMSMS API's from external scripts is not supported.

You can however setup a separate content page or URL that serves only the content you want, and then request that URL from your other script.

This is the mechanism we use to share menus and footers and other things between CMSMS websites, even on different servers.

Re: External access to CMSMS global content

Posted: Fri Dec 04, 2015 5:56 pm
by Rolf
You could use http://dev.cmsmadesimple.org/projects/cacheremotefile

I use it to post CGBlog articles from the main website
http://www.zeijen.nu/feeds/feed-svz-nieuws

To a subdomain website:
http://sportvereniging.zeijen.nu

Re: External access to CMSMS global content

Posted: Sat Dec 05, 2015 9:59 am
by rotezecke
or CMSMS shop skin helper:

http://www.studio-owens.com/code/cmsms- ... helper.htm

used here: rpc.com.au/catalog

Re: External access to CMSMS global content

Posted: Wed Dec 09, 2015 7:58 pm
by tomkrysl
calguy1000 wrote: You can however setup a separate content page or URL that serves only the content you want, and then request that URL from your other script.
Thank you calguy, I know how to setup separate content page which shows only the header but I don't know how to request that URL from the other php script. Can you give a short example?

Thank you