How to fixed width of maincontent

Author Message

Alexandre huytq

Friday 14 July 2006 5:12:27 am

I want to find how to fixed width of maincontent in pagelayout when the page has no leftmenu or fightmenu (ex: latest item, basket, . . ). I tried to see in pagelayout.tpl and never have idea for custom this pagelayout. I not think any code piece to do that.
Let's guide me do that, please.

Thanx for help.

Tran Quang Huy

Jeroen Sangers

Friday 14 July 2006 7:49:23 am

The width of the maincontent is not set in pagelayout.tpl, but in the stylesheets.. Check which stylesheets you are using, override them and modify the width.

Alexandre huytq

Monday 17 July 2006 9:32:44 pm

I see that you talk. But in my opinion is other. I only want leftmenu or rightmenu is lose or hide when it in some level submenu. By default, left menu or right menu still exists in my site.
Or with right menu containing "latest news" item for example, It'll lose when not contain any news item.

Thanks for help. :)

Tran Quang Huy

Alexandre huytq

Friday 21 July 2006 1:13:47 am

Hix. How to that i want is also like how to do view full a article or folder ( haven't leftmenu or right menu ). That can not only edit in stylesheet. Because the stylesheet files only can align the component.
I think it can to edit in any somewhere but not stylesheet.
Who have any solution about this proplem. Let't help me.
Thank.

Tran Quang Huy

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 31 2025 08:03:12
Script start
Timing: Jan 31 2025 08:03:12
Module start 'layout'
Timing: Jan 31 2025 08:03:12
Module start 'content'
Timing: Jan 31 2025 08:03:14
Module end 'content'
Timing: Jan 31 2025 08:03:14
Script end

Main resources:

Total runtime1.4554 sec
Peak memory usage4,096.0000 KB
Database Queries60

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0056 588.1563151.2109
Module start 'layout' 0.00570.0483 739.367236.6484
Module start 'content' 0.05391.4007 776.0156935.0469
Module end 'content' 1.45470.0007 1,711.062511.8438
Script end 1.4554  1,722.9063 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00280.1957160.0002
Check MTime0.00120.0802160.0001
Mysql Total
Database connection0.00110.078110.0011
Mysqli_queries1.334591.6879600.0222
Looping result0.00050.0351580.0000
Template Total1.342792.320.6713
Template load0.00220.150720.0011
Template processing1.340592.101020.6702
Template load and register function0.00120.085110.0012
states
state_id_array0.00880.605710.0088
state_identifier_array0.00250.169820.0012
Override
Cache load0.00160.1128180.0001
Sytem overhead
Fetch class attribute can translate value0.00080.054620.0004
Fetch class attribute name0.00230.156050.0005
XML
Image XML parsing0.00490.334420.0024
class_abstraction
Instantiating content class attribute0.00000.000950.0000
General
dbfile0.02191.5047160.0014
String conversion0.00000.000640.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
4content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
3content/datatype/view/ezxmltags/line.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/line.tplEdit templateOverride template
4content/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
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 14
 Number of unique templates used: 6

Time used to render debug report: 0.0001 secs