eZ Community » Forums » Setup & design » External site in ezpublish cms
expandshrink

External site in ezpublish cms

External site in ezpublish cms

Friday 26 January 2007 6:11:45 pm - 5 replies

Hi,
it is possible to show an external site inside ezpublish cms (with iframe or something else)?
Thanks for your help.

Friday 26 January 2007 7:09:33 pm

You can place the iframe code right into the online editor in an XML text block using the literal tag with the html class -

just enter the iframe code within the html class:

<iframe src="../examples/inlineframe1.html" width="80%" height="110"></iframe> 

Monday 05 February 2007 9:53:21 am

I tried to insert the <iframe> tag in XML Text Block but it dont works because <iframe> tag is not permitted in XML Text Block (message: Body: Unknown tag: <iframe>.)
I would like insert a google maps in my site; any hint?
Vince

Monday 05 February 2007 10:07:35 am

Hi Vincenzo

You'll should go back and re-read Marks post again.

You have to add a literal tag with your iframe content and make sure the literal tag has the html class associated with it.

Cheers
Bruce

Monday 05 February 2007 11:33:35 am

Hi Bruce

Thanks a lot!
I enabled 'html' class in my content.ini configuration file and all works fine.

Vince

Saturday 07 July 2007 5:00:16 pm

I am using <b>eZ Publish 3.9.2</b>.

I want to integrate external site into my eZ site.

1. In /settings/override/content.ini.append.php, add:

 
[literal]
AvailableClasses[]=html

2.Click "insert literal" button in OE toolbar, choose class "html" from the dropdown list in the popup window. Click the "OK" button. A box with purple background will appear in the OE text area.

3.Type the following codes in the purple box:

<iframe src="http://www.sohu.com" width="80%" height="110"></iframe>

4.Clear all the caches.

5.When the corresponding page displays, the <b>iframe</b> works but the content is the homepage of <b>http://www.mydomain.com</b> instead of the homepage of <b>http://www.sohu.com</b>.

What's the problem?

Any help would be appreciated.

Thanks!

OnlyBlue

Modified on Monday 09 July 2007 4:32:44 am by Jianjun Hu

expandshrink

You must be logged in to post messages in this topic!

36 542 Users on board!

Forums menu