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!
External access to CMSMS global content
-
- Support Guru
- Posts: 8169
- Joined: Tue Oct 19, 2004 6:44 pm
Re: External access to CMSMS global content
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.
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.
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.
Re: External access to CMSMS global content
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
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
- + - + - + - + - + - + -
LATEST TUTORIAL AT CMS CAN BE SIMPLE:
Migrating Company Directory module to LISE
Migrating Company Directory module to LISE
- + - + - + - + - + - + -
Re: External access to CMSMS global content
or CMSMS shop skin helper:
http://www.studio-owens.com/code/cmsms- ... helper.htm
used here: rpc.com.au/catalog
http://www.studio-owens.com/code/cmsms- ... helper.htm
used here: rpc.com.au/catalog
Re: External access to CMSMS global content
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?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