 |

grauchut
User
Aug 14, 2008, 8:46 PM
Post #1 of 6
(1510 views)
Shortcut
|
|
Add content to more then one site
|
Can't Post
|
|
It there a way I can add content from one cms site to another site. Example. I want to add all my sites to the link pages of all my sites. Is there a way I can do it from one cms program instead of logging into each sites cms? Thanks Glenn Rauchut (Owner) Emergency Designz
|
|
|  |
 |

Dave
Staff
/ Moderator

Aug 15, 2008, 1:32 PM
Post #2 of 6
(1447 views)
Shortcut
|
|
Re: [grauchut] Add content to more then one site
[In reply to]
|
Can't Post
|
|
Hi Glenn, 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? Dave Edis - Senior Developer interactivetools.com
|
|
|  |
 |

sagentic
User

Aug 15, 2008, 3:23 PM
Post #3 of 6
(1420 views)
Shortcut
|
|
Re: [grauchut] Add content to more then one site
[In reply to]
|
Can't Post
|
|
If all of your sites are on the same server, it will work without any problems. The line at the top of the page (yours will be different):
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="" />
(This post was edited by sagentic on Aug 15, 2008, 3:24 PM)
|
|
|  |
 |

grauchut
User
Aug 16, 2008, 8:36 AM
Post #4 of 6
(1373 views)
Shortcut
|
|
Re: [sagentic] Add content to more then one site
[In reply to]
|
Can't Post
|
|
I tried that with no luck. All of my sites operate off of the same server with different My SQL Databases set up for each site. My clients are able to update their links pages by themselfs so their is already a Code require_once "/home/sagentic/public_html/cmsAdmin/lib/viewer_functions.php";set up at the top of the page. Glenn Rauchut (Owner) Emergency Designz
|
|
|  |
 |

Jake
Staff
/ Moderator

Aug 17, 2008, 6:45 PM
Post #5 of 6
(1276 views)
Shortcut
|
|
Re: [grauchut] Add content to more then one site
[In reply to]
|
Can't Post
|
|
Hi Glenn, 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 Swanson - 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.
|
|
|  |
 |

grauchut
User
Aug 20, 2008, 6:51 PM
Post #6 of 6
(1214 views)
Shortcut
|
|
Re: [Jake] Add content to more then one site
[In reply to]
|
Can't Post
|
|
I decided to just set it up on each page. Thanks Glenn Rauchut (Owner) Emergency Designz
|
|
|  |
|