How to change the way of displaying an object

Author Message

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

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

eZ debug

Timing: Jan 18 2025 16:20:23
Script start
Timing: Jan 18 2025 16:20:23
Module start 'layout'
Timing: Jan 18 2025 16:20:23
Module start 'content'
Timing: Jan 18 2025 16:20:23
Module end 'content'
Timing: Jan 18 2025 16:20:23
Script end

Main resources:

Total runtime0.6392 sec
Peak memory usage4,096.0000 KB
Database Queries59

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0054 589.1641152.6406
Module start 'layout' 0.00540.0025 741.804739.4766
Module start 'content' 0.00790.6297 781.2813565.9844
Module end 'content' 0.63760.0016 1,347.265612.1250
Script end 0.6391  1,359.3906 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00370.5741160.0002
Check MTime0.00140.2127160.0001
Mysql Total
Database connection0.00090.134410.0009
Mysqli_queries0.591792.5711590.0100
Looping result0.00050.0845570.0000
Template Total0.608895.220.3044
Template load0.00220.347220.0011
Template processing0.606594.895920.3033
Template load and register function0.00020.031910.0002
states
state_id_array0.00110.165810.0011
state_identifier_array0.00070.109920.0004
Override
Cache load0.00180.2826170.0001
Sytem overhead
Fetch class attribute can translate value0.00100.157130.0003
Fetch class attribute name0.00110.168240.0003
XML
Image XML parsing0.00080.126730.0003
class_abstraction
Instantiating content class attribute0.00000.001440.0000
General
dbfile0.00090.1404170.0001
String conversion0.00000.001240.0000
Note: percentages do not add up to 100% because some accumulators overlap

Templates used to render the page:

UsageRequested templateTemplateTemplate loadedEditOverride
1node/view/full.tplfull/forum_topic.tplextension/sevenx/design/simple/override/templates/full/forum_topic.tplEdit templateOverride template
3content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
3content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
1content/datatype/view/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.tplEdit templateOverride template
1content/datatype/view/ezxmltags/literal.tpl<No override>extension/community/design/standard/templates/content/datatype/view/ezxmltags/literal.tplEdit templateOverride template
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 10
 Number of unique templates used: 6

Time used to render debug report: 0.0002 secs