Forums / Setup & design / External site in ezpublish cms

External site in ezpublish cms

Author Message

Alessandro Amicone

Friday 26 January 2007 9:11:45 am

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

Mark Marsiglio

Friday 26 January 2007 10:09:33 am

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> 

http://www.thinkcreative.com
Turning Ideas Into Strategic Solutions

vincenzo dima

Monday 05 February 2007 12: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

Bruce Morrison

Monday 05 February 2007 1: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

My Blog: http://www.stuffandcontent.com/
Follow me on twitter: http://twitter.com/brucemorrison
Consolidated eZ Publish Feed : http://friendfeed.com/rooms/ez-publish

vincenzo dima

Monday 05 February 2007 2:33:35 am

Hi Bruce

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

Vince

Jianjun Hu

Saturday 07 July 2007 8:00:16 am

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

☆..·°∴°.☆°°.☆°.
°∴ °☆ .·enjoy star° .·★°∴°
∴°.°★ .·°
  ミ☆°∴°.★☆° ∴·°
°.☆° .·∴° 

Is it a pleasure after all to practice in due time what one has learnt?