Forums / Setup & design / How to change the way of displaying an object
Pierre T.
Saturday 09 May 2009 6:54:28 am
Hello,
Here is my problem: I'm working with ezwebin extension & classes. I have an object "Forums" within a "Frontpage" object.
When I display my "Forums" object, it is displayed with a left column containing all the objects under my "Frontpage" object. Whereas I'd like to display my "Forums" object in a full view, displayed on all the width of the web page, not with the left column.
What can I do ? Modify ini settings, tpl files ?
Thanks for your support.
Regards
Fátima Chapri
Sunday 10 May 2009 6:34:55 am
Hi Pierre,
To hide the left column for a certain object class you have to alter the $pagestyle variable located at the pagelayout.tpl.
André R.
Sunday 10 May 2009 7:52:26 am
menu.ini [MenuContentSettings] HideLeftMenuClasses[]
As noted there (in ezwebin 1.4 extension), this is deprecated in favor of setting it with persistent_variable parameters from the node template:
{ezpagedata_set( 'left_menu', false() )} {ezpagedata_set( 'extra_menu', false() )} {ezpagedata_set( 'show_path', false() )}
eZ Online Editor 5: http://projects.ez.no/ezoe || eZJSCore (Ajax): http://projects.ez.no/ezjscore || eZ Publish EE http://ez.no/eZPublish/eZ-Publish-Enterprise-Subscription @: http://twitter.com/andrerom