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?

Powered by eZ Publish™ CMS Open Source Web Content Management. Copyright © 1999-2014 eZ Systems AS (except where otherwise noted). All rights reserved.

eZ debug

Timing: Jan 31 2025 01:16:52
Script start
Timing: Jan 31 2025 01:16:52
Module start 'layout'
Timing: Jan 31 2025 01:16:52
Module start 'content'
Timing: Jan 31 2025 01:16:52
Module end 'content'
Timing: Jan 31 2025 01:16:52
Script end

Main resources:

Total runtime0.0261 sec
Peak memory usage6,144.0000 KB
Database Queries3

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0048 588.1328151.2109
Module start 'layout' 0.00480.0044 739.3438220.7031
Module start 'content' 0.00930.0152 960.04691,001.9141
Module end 'content' 0.02450.0016 1,961.960937.9922
Script end 0.0260  1,999.9531 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.003011.4513140.0002
Check MTime0.00104.0043140.0001
Mysql Total
Database connection0.00072.800610.0007
Mysqli_queries0.00238.669830.0008
Looping result0.00000.045710.0000
Template Total0.00124.610.0012
Template load0.00103.698810.0010
Template processing0.00020.851510.0002
Override
Cache load0.00072.562810.0007
General
dbfile0.00218.129380.0003
String conversion0.00000.026540.0000
Note: percentages do not add up to 100% because some accumulators overlap

Templates used to render the page:

UsageRequested templateTemplateTemplate loadedEditOverride
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 1
 Number of unique templates used: 1

Time used to render debug report: 0.0001 secs