Share » Forums » Setup & design » Working with frames

Working with frames

Working with frames

Wednesday 23 March 2005 7:57:56 pm - 3 replies

Author Message

Ben Peter

Wednesday 23 March 2005 9:04:42 pm

Hi Daniel,

rest assured that eZ publish has a rather flat learning curve, given the functionality and flexibility it has. I have worked with other CMSs and eZ publish is such a relief :-)

WIth your frameset, you can take the following approach:

In settings/<siteaccess>/layout.ini, define a layout for each frame:

[topframe]
PageLayout=pagelayout_top.tpl

[bottomframe]
PageLayout=pagelayout_bottom.tpl

In the page containing the frameset, you can then use

<frame src="{concat('layout/set/topframe/', $node.url_alias)|ezurl}" />

That will use pagelayout_top.tpl for that frame instead of pagelayout.tpl

Cheers,
Ben

Daniel Guerrier

Thursday 24 March 2005 9:10:34 am

So I assume I am placing the framset in pagelayout.tpl and will have the frames call the other custom layouts?

Ben Peter

Thursday 24 March 2005 1:17:58 pm

That at least is how I would approach it. Maybe there are other ways.

Cheers,
Ben

You must be logged in to post messages in this topic!

36 542 Users on board!

Forums menu