2 different page layouts

Author Message

Negin Javadi

Sunday 12 December 2004 11:37:17 pm

Iwanna create a site wich has 2 different designs(1 for the index page & another for the rest of the site)specially I wanna have differnt menus in this parts of site could you please guide me to do that

n_j1981[at]yahoo[dot]com

Balazs Halasy

Monday 13 December 2004 12:12:28 am

Hi,

Suggestion 1:
Create different pagelayout templates and use the template override system in order to determine which pagelayout that should be used. For example you could segment your content node tree using sections and set up the override rules to show different pagelayouts for different sections.

Suggestion 2:
Use only one pagelayout and put some logic that (based on the node being viewed) controls the menus.

Balazs

Negin Javadi

Monday 13 December 2004 1:27:09 am

thank you Balazs could you explain the 1st suggestion please

n_j1981[at]yahoo[dot]com

Alex Jones

Monday 13 December 2004 7:01:36 am

Hi Negin, the documentation should get you started:

<b>Building an eZ publish site:</b> http://ez.no/ez_publish/documentation/toc/(from)/36647

The tutorial should walk you through the entire process to follow Balazs' first suggestion.

Alex
[ bald_technologist on the IRC channel (irc.freenode.net): #eZpublish ]

<i>When in doubt, clear the cache.</i>

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