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?

eZ debug

Timing: Jan 18 2025 15:50:59
Script start
Timing: Jan 18 2025 15:50:59
Module start 'content'
Timing: Jan 18 2025 15:51:01
Module end 'content'
Timing: Jan 18 2025 15:51:01
Script end

Main resources:

Total runtime1.9022 sec
Peak memory usage4,096.0000 KB
Database Queries209

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0065 588.8594180.8359
Module start 'content' 0.00651.7725 769.6953690.3516
Module end 'content' 1.77890.1231 1,460.0469337.0938
Script end 1.9021  1,797.1406 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00410.2137210.0002
Check MTime0.00160.0841210.0001
Mysql Total
Database connection0.00070.039210.0007
Mysqli_queries1.816195.47452090.0087
Looping result0.00250.12992070.0000
Template Total1.868398.220.9342
Template load0.00220.117520.0011
Template processing1.866198.103420.9330
Template load and register function0.00020.013110.0002
states
state_id_array0.00130.067610.0013
state_identifier_array0.00120.061520.0006
Override
Cache load0.00220.1173420.0001
Sytem overhead
Fetch class attribute can translate value0.00180.093660.0003
Fetch class attribute name0.00150.081290.0002
XML
Image XML parsing0.00240.128360.0004
class_abstraction
Instantiating content class attribute0.00000.001190.0000
General
dbfile0.00330.1727380.0001
String conversion0.00000.000330.0000
Note: percentages do not add up to 100% because some accumulators overlap

CSS/JS files loaded with "ezjscPacker" during request:

CacheTypePacklevelSourceFiles
CSS0extension/community/design/community/stylesheets/ext/jquery.autocomplete.css
extension/community_design/design/suncana/stylesheets/scrollbars.css
extension/community_design/design/suncana/stylesheets/tabs.css
extension/community_design/design/suncana/stylesheets/roadmap.css
extension/community_design/design/suncana/stylesheets/content.css
extension/community_design/design/suncana/stylesheets/star-rating.css
extension/community_design/design/suncana/stylesheets/syntax_and_custom_tags.css
extension/community_design/design/suncana/stylesheets/buttons.css
extension/community_design/design/suncana/stylesheets/tweetbox.css
extension/community_design/design/suncana/stylesheets/jquery.fancybox-1.3.4.css
extension/bcsmoothgallery/design/standard/stylesheets/magnific-popup.css
extension/sevenx/design/simple/stylesheets/star_rating.css
extension/sevenx/design/simple/stylesheets/libs/fontawesome/css/all.min.css
extension/sevenx/design/simple/stylesheets/main.v02.css
extension/sevenx/design/simple/stylesheets/main.v02.res.css
JS0extension/ezjscore/design/standard/lib/yui/3.17.2/build/yui/yui-min.js
extension/ezjscore/design/standard/javascript/jquery-3.7.0.min.js
extension/community_design/design/suncana/javascript/jquery.ui.core.min.js
extension/community_design/design/suncana/javascript/jquery.ui.widget.min.js
extension/community_design/design/suncana/javascript/jquery.easing.1.3.js
extension/community_design/design/suncana/javascript/jquery.ui.tabs.js
extension/community_design/design/suncana/javascript/jquery.hoverIntent.min.js
extension/community_design/design/suncana/javascript/jquery.popmenu.js
extension/community_design/design/suncana/javascript/jScrollPane.js
extension/community_design/design/suncana/javascript/jquery.mousewheel.js
extension/community_design/design/suncana/javascript/jquery.cycle.all.js
extension/sevenx/design/simple/javascript/jquery.scrollTo.js
extension/community_design/design/suncana/javascript/jquery.cookie.js
extension/community_design/design/suncana/javascript/ezstarrating_jquery.js
extension/community_design/design/suncana/javascript/jquery.initboxes.js
extension/community_design/design/suncana/javascript/app.js
extension/community_design/design/suncana/javascript/twitterwidget.js
extension/community_design/design/suncana/javascript/community.js
extension/community_design/design/suncana/javascript/roadmap.js
extension/community_design/design/suncana/javascript/ez.js
extension/community_design/design/suncana/javascript/ezshareevents.js
extension/sevenx/design/simple/javascript/main.js

Templates used to render the page:

UsageRequested templateTemplateTemplate loadedEditOverride
1node/view/full.tplfull/forum_topic.tplextension/sevenx/design/simple/override/templates/full/forum_topic.tplEdit templateOverride template
6content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
4content/datatype/view/ezxmltags/line.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/line.tplEdit templateOverride template
10content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
3content/datatype/view/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.tplEdit templateOverride template
3content/datatype/view/ezxmltags/literal.tpl<No override>extension/community/design/standard/templates/content/datatype/view/ezxmltags/literal.tplEdit templateOverride template
1pagelayout.tpl<No override>extension/sevenx/design/simple/templates/pagelayout.tplEdit templateOverride template
 Number of times templates used: 28
 Number of unique templates used: 7

Time used to render debug report: 0.0002 secs