Page 1 of 1
Show content remote
Posted: Fri 3. Aug 2007, 14:54
by culda_a
Is it possible to do a {showcontent} RT but not to show an article from the website where is inserted ... to be show from a remote website... for example:
site 1 (
http://www.site1.de) : here to be a {showcntremote}
site 2: (
http://www.site2.de): here to be the content that I want to be show in the site 1
so the ideea is to find a way to show a content from 1 domain to another one.
this is what I want,... any sugestions?
Thanks
Posted: Fri 3. Aug 2007, 15:05
by Pappnase
hello
why you don't use the "external content" content part ?
http://www.phpwcms-docu.de/ext__content.phtml
Posted: Fri 3. Aug 2007, 16:08
by update
I did it like this:
in CP (wysiwyg e.g.) I put the following:
loadit.php then contains
Code: Select all
<?php
header("Content-Type: text/html; charset=ISO-8859-1");
include("http://www.domain.de/specialdir/forremotecontent/wonderful.php");
?>
to be able to pass some more information over to the incoming data...
Perhaps not such elegance, but it works
Greetings
claus
Posted: Fri 3. Aug 2007, 18:03
by culda_a
thanks for the info .... it realy works both
Posted: Fri 3. Aug 2007, 18:49
by culda_a
Another question... is any script that do the same but not to put in a content part for example I want to put in the backend like a info box?
Posted: Sun 9. Sep 2007, 16:13
by phalancs
i think this is very limited. cause it opnly loads full pages and a CP is just a tiny part of a pages content.
So no real solution here. Anyways i dont think there might be one at all. You might want to copy and paste if ít is rather static content.
Posted: Sun 9. Sep 2007, 20:21
by DeXXus
I would think someone could PLAN the CSS id/classes of SOURCE page and then call the content using either:
THEN applying CSS to show/hide content on DESTINATION via id/classes.
(similar to idea of print.css controlling what gets printed)