Forums / Setup & design / How to setup Frames?

How to setup Frames?

Author Message

andreas spahr

Tuesday 09 September 2003 2:30:19 am

I need to create a frameset with a navigation, head and contentframe.
I know, it is not recommended by eZ to use frames, and I avoid it too, but, as its going, I have to.
But I have no idea how to.
Can someone help me?
Thanks!

Bjørn Kaarstein

Tuesday 09 September 2003 4:15:06 am

I think you will have to create sections for navigation, head and content frame, and give all sections a pagelayout.tpl to control the layout of each frame.

I've been thinking about making a site with frames, but it haven't come to that yet. (Haven't been forced) I'd be grateful if you'd post how you solve it if you decide to go for frames.

Regards Bjørn

Paul Forsyth

Tuesday 09 September 2003 4:35:20 am

We recently built a set that required the use of an iframe. Essentially the iframe (or frame) loads in its own space so you need to careful to ensure each frame has the right url for the task.

There are a couple of tricky bits. Communicating between each frame so that ez knows what is going on is pretty much impossible without using some kind of cookie/javascript combination. At least thats the approach we took for our problem.

The other thing to consider is ez will eat a lot of resources displaying your pages, one httpd resource for each frame you create: ez can only return one page at a time.

Paul

Lazaro Ferreira

Thursday 22 January 2004 11:19:54 am

Hi,

Have you managed to develop your site with frames, sucessfully ?

Lazaro F.

Lazaro
http://www.mzbusiness.com

Felix Laate

Thursday 22 January 2004 12:34:58 pm

One solution is to make one subdomain, say www.yourdomain.com, for the frameset. And one, say publish.yourdomain.com, for ezpublish.

Then you point the frames to the objects you need in ezpublish.

When I need a menu in e.g. a top-frame, I simply make a fakeobject with no content, make a special "gives-me-the-menu"-template for that node.

Felix

Publlic Relations Manager
Greater Stavanger
www.greaterstavanger.com

eZ debug

Timing: Jan 18 2025 19:22:17
Script start
Timing: Jan 18 2025 19:22:17
Module start 'content'
Timing: Jan 18 2025 19:22:18
Module end 'content'
Timing: Jan 18 2025 19:22:18
Script end

Main resources:

Total runtime0.9810 sec
Peak memory usage4,096.0000 KB
Database Queries206

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0090 587.6875180.8438
Module start 'content' 0.00900.7883 768.5313657.2188
Module end 'content' 0.79720.1837 1,425.7500337.0859
Script end 0.9809  1,762.8359 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00440.4520210.0002
Check MTime0.00170.1723210.0001
Mysql Total
Database connection0.00170.170910.0017
Mysqli_queries0.901091.85242060.0044
Looping result0.00230.23412040.0000
Template Total0.942396.120.4711
Template load0.00200.205320.0010
Template processing0.940295.847920.4701
Template load and register function0.00020.020110.0002
states
state_id_array0.00210.209510.0021
state_identifier_array0.00090.091120.0004
Override
Cache load0.00170.1705270.0001
Sytem overhead
Fetch class attribute can translate value0.00170.174160.0003
Fetch class attribute name0.00170.170060.0003
XML
Image XML parsing0.00170.175560.0003
class_abstraction
Instantiating content class attribute0.00000.001260.0000
General
dbfile0.00360.3658270.0001
String conversion0.00000.000530.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
5content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
1content/datatype/view/ezxmltags/line.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/line.tplEdit templateOverride template
5content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
1content/datatype/view/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.tplEdit templateOverride template
1pagelayout.tpl<No override>extension/sevenx/design/simple/templates/pagelayout.tplEdit templateOverride template
 Number of times templates used: 14
 Number of unique templates used: 6

Time used to render debug report: 0.0002 secs