Add content to more then one site
6 posts by 4 authors in: Forums > CMS Builder
Last Post: August 20, 2008 (RSS)
By grauchut - August 14, 2008
Re: [grauchut] Add content to more then one site
By Dave - August 15, 2008
There's a few ways to do this. If you just want to be able to update a page on all your client sites the easiest way might be to maintain that page on your site and display it on all the client sites with a borderless iframe.
Do you think that would work for you?
interactivetools.com
Re: [grauchut] Add content to more then one site
By Kenny - August 15, 2008 - edited: August 15, 2008
require_once "/home/sagentic/public_html/cmsAdmin/lib/viewer_functions.php";
will normally work no matter what site you put it on as long as the sites are on the same server.
I can't attest to this for all set ups and shared environments as we have our own dedicated servers.
A prime example of what we did is kind of like what you are wanting to do.
Our main CMS installation is on sagentic.org - one of the sections we have is "Portfolio"
On another site, http://www.realtorsdesign.com we display that portfolio (only the real estate listings).
Paste the code as normal. I only had to make one change for the screenshot image to get it to display the image right - I had to expand the url of the image as shown below:
<?php elseif ($upload['isImage']): ?>
<img src="http://www.sagentic.org<?php echo $upload['urlPath'] ?>" width="120" alt="" />
Re: [sagentic] Add content to more then one site
By grauchut - August 16, 2008
[font "Verdana,Arial,Helvetica"]Code
require_once "/home/sagentic/public_html/cmsAdmin/lib/viewer_functions.php";
set up at the top of the page.
Re: [grauchut] Add content to more then one site
By Jake - August 17, 2008
What kind of problems were you running into? Did you see any error message or was this just not working?
This type of setup may not be possible on all hosting environments. As Dave mentioned, you may need to use something like an <iframe> tag to accomplish this. [:)]
Cheers,
Jake Marvin - Product Specialist
support@interactivetools.com
Hire me!
Save time by getting our experts to help with your project. Template changes, advanced features, full integration, whatever you need. Whether you need one hour or fifty, get it done fast with Priority Consulting.
Re: [Jake] Add content to more then one site
By grauchut - August 20, 2008