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

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 18 2025 22:37:02
Script start
Timing: Jan 18 2025 22:37:02
Module start 'layout'
Timing: Jan 18 2025 22:37:02
Module start 'content'
Timing: Jan 18 2025 22:37:02
Module end 'content'
Timing: Jan 18 2025 22:37:02
Script end

Main resources:

Total runtime0.0144 sec
Peak memory usage2,048.0000 KB
Database Queries3

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0047 589.0391152.6250
Module start 'layout' 0.00470.0027 741.664139.4297
Module start 'content' 0.00740.0049 781.093893.2891
Module end 'content' 0.01230.0021 874.382834.3047
Script end 0.0143  908.6875 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.002417.0062140.0002
Check MTime0.00117.4297140.0001
Mysql Total
Database connection0.00064.328710.0006
Mysqli_queries0.002215.650730.0007
Looping result0.00000.112810.0000
Template Total0.001711.510.0017
Template load0.00096.235110.0009
Template processing0.00085.246210.0008
Override
Cache load0.00064.431610.0006
General
dbfile0.00021.677480.0000
String conversion0.00000.056440.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