Sharing content between multiple sites

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.
Locked
crozi

Sharing content between multiple sites

Post by crozi »

I have a project which has four semi-independent sites. I know that CMSMS can't do multiple sites in one install yet, but I don't need that for this project. All I need is for the four sites to share a few pieces of content.

All the sites will be on one server, probably in different databases, but they could be in the same database with different table prefixes. I don't necessarily need to be able to edit the shared content from all four sites, one would be fine. I do need the shared content to be displayed on all the sites though.

Any ideas?

(Sorry if this is unclear I tried to be descriptive)
cyberman

Re: Sharing content between multiple sites

Post by cyberman »

Which pieces of content do you need?
crozi

Re: Sharing content between multiple sites

Post by crozi »

The shared content is just regular semi-static content. The four websites are for a non-profit organization that supports three robotics teams. The four sites need to share only the sponsor page. In other words the four sites need to have similar sponsor pages which are updated on a semi regular basis.

Hope that helps...
cyberman

Re: Sharing content between multiple sites

Post by cyberman »

You need a server which allow database access from other accounts. Then it should be possible to access database directly (without CMSms) or via userdefined tag.
Pierre M.

Re: Sharing content between multiple sites

Post by Pierre M. »

Why not only one website ? I mean :
-The homepage as the shared sponsor page.
-Three sections each dedicated to a team managing permissions inside a group.
Of course, there would be only one domain. Is this what you are unhappy about ?
PM
User avatar
chead
Forum Members
Forum Members
Posts: 63
Joined: Tue Feb 06, 2007 4:01 am

Re: Sharing content between multiple sites

Post by chead »

With Pierre's method, you could also make the sponsor information a Global Content Block, and it could then appear anywhere you'd like in your menu structure, sidebar, etc. That's your easiest method.

If the only thing you're changing is the sponsor list, and you have separate CMSMS installs, it might even be easiest to set up a global content block for sponsors on each site, make your updates to one, then just copy/paste the changes to the remaining sites. Use absolute paths for logos and you'd only have to upload them in one place.

If the sites have to be on different domains, you could use IFRAMES. Basically, you'd embed a special "sponsor_shared" CMSMS page in an invisible frame on your other sites. It's more complex, but doable.
crozi

Re: Sharing content between multiple sites

Post by crozi »

Thank you all for your help. due to the project requirements, cyberman's solution seemed to be the best option. I did a quick test and it seems like it will work out well enough for my purposes.

Thanks Everyone!
Locked

Return to “CMSMS Core”