[Solved] Removing the Global Zone (displayed on right side)

Author Message

Hakim Bouras

Saturday 16 May 2009 10:23:10 am

Hi,

In a eZ Flow site, there is a zone on the right which is automatically filled with the content of the root global_layout object (named "global zone") and which appears for some time of objects such as folder or articles.

Is there an easy way to remove this "global zone" (for the whole site) or maybe to define for which class object it should show (since it does not for all) ?

I tried to remove the root global_layout object but it did not work.

Thanks for your help,
Hakim

Hakim Bouras

Sunday 17 May 2009 2:36:53 am

It can be change at the template level by adding :

{ezpagedata_set( 'extra_menu', false() )}

You can also control the left-menu and the path using the following:

{ezpagedata_set( 'left_menu', false() )}
{ezpagedata_set( 'show_path', false() )}

Neo Pixel

Monday 18 May 2009 3:50:00 am

What template do you put

{ezpagedata_set( 'extra_menu', false() )}

into?

pagelayout.tpl?

Asking stupid questions so you don't have to!

Hakim Bouras

Monday 18 May 2009 5:05:54 am

You should put it in the template used to view the node.

ie: if you want to remove the right panel when viewing a folder object, you will put it in the "full/folder.tpl" that you will override or that is already overriden in your config (http://ez.no/doc/ez_publish/technical_manual/4_0/templates/the_template_override_system)

Cheers,
Hakim

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