Dual main different pagelayouts

Author Message

Softriva .com

Thursday 24 June 2010 1:44:39 am

Hello,

What is best practice to do the following:

One website that has two totally different pagelayouts. When first ezp starts it should show one layout with its own menus, graphics, structure, content, etc. When the user clicks on a specific button, a new layout with its own menus, graphics, structure, content, etc. should appear.

How should I go about doing this?

Thank you

OOzy

Gaetano Giunta

Thursday 24 June 2010 2:49:16 am

You could use an {if} inside the main pagelayout, or some more advanced/convoluted techniques.

Depending on your scneario one might be better than the other:

- could the address of pages after the switch be different? (ie. use another siteaccess)

- after the user 'clicke the button', shall he stay forever with the new layout? shall this persist after he logs out and comes back?

- the new layout shall affect also non-content pages such as user/login, content/serach etc?

Principal Consultant International Business
Member of the Community Project Board

Softriva .com

Thursday 24 June 2010 6:31:44 am

Thank you Gaetano

There is no login activities.

Both layouts are magazine type sites.

The each layout has it is own menu and there is one common menu between both. Therefore, each layout has two menu with one common menu between them.

Thx

OOzy

Gaetano Giunta

Thursday 24 June 2010 7:29:58 am

Then you might use two different siteaccesses, each with a different main design and a common design set up as first one in AdditionalSiteDesignList. Place your pagelayouts in your different designs.

Principal Consultant International Business
Member of the Community Project Board

Softriva .com

Friday 25 June 2010 12:33:20 am

Hello,

How about languages? The site is bilingual. Will this confuse the issue?

Any ideas?

Gaetano Giunta

Friday 25 June 2010 12:47:57 am

Assuming you are using one siteaccess per language, yes that will have an impact. It means you will have to create 4 siteaccesses in the end

Principal Consultant International Business
Member of the Community Project Board

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