toolbar below left menu

Author Message

Huadong Gai

Monday 26 July 2004 10:32:38 pm

I am using 3.4. I added left menu using the Admin Interface. I would like to more information(like login) just below the left menu but do not know how. I can add toolbar to the right but not to the left. Can this be done easily with the Admin Interface or I have to write code to do it(any examples or general direction)? Any helps are appreciated.

Kim Marshall

Monday 27 September 2004 6:25:23 pm

I couldn't fins a way to do it via the Admin interface so this is what I did.

1) Edit the pagelayout.tpl file adding the following code below the {menu name=LeftMenu}

{section show=ezini( 'Toolbar_left', 'Tool', 'toolbar.ini' )|count}
<div id="leftmenu">
<div id="leftmenu-design">
<h3 class="hide">Left menu</h3>
<div id="toolbar-left">
<div class="toolbar-design">
{tool_bar name=left view=full}
</div>{* id="toolbar-design" *}
</div>{* id="toolbar-left" *}
</div>{* id="leftmenu-design" *}
</div>{* id="leftmenu" *}
{/section}

Then edit the settings/override/toolbar.ini.append.php file
[Toolbar_left]
Tool[]
Tool[]=login
Tool[]=searchbox

Then edit stylesheets as required

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 18:41:41
Script start
Timing: Jan 18 2025 18:41:41
Module start 'layout'
Timing: Jan 18 2025 18:41:41
Module start 'content'
Timing: Jan 18 2025 18:41:41
Module end 'content'
Timing: Jan 18 2025 18:41:41
Script end

Main resources:

Total runtime0.6262 sec
Peak memory usage4,096.0000 KB
Database Queries54

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0077 587.9063152.6250
Module start 'layout' 0.00770.0032 740.531339.4453
Module start 'content' 0.01090.6140 779.9766460.2344
Module end 'content' 0.62490.0012 1,240.21098.3281
Script end 0.6262  1,248.5391 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00350.5625160.0002
Check MTime0.00130.2051160.0001
Mysql Total
Database connection0.00100.153510.0010
Mysqli_queries0.584793.3699540.0108
Looping result0.00040.0703520.0000
Template Total0.594294.920.2971
Template load0.00180.291820.0009
Template processing0.592394.589120.2962
Template load and register function0.00020.035310.0002
states
state_id_array0.00130.205810.0013
state_identifier_array0.00100.160420.0005
Override
Cache load0.00150.2418270.0001
Sytem overhead
Fetch class attribute can translate value0.00060.092020.0003
Fetch class attribute name0.00140.222020.0007
XML
Image XML parsing0.00030.043920.0001
class_abstraction
Instantiating content class attribute0.00000.000820.0000
General
dbfile0.00060.1030100.0001
String conversion0.00000.001440.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
2content/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
2content/datatype/view/ezxmltags/line.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/line.tplEdit templateOverride template
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 9
 Number of unique templates used: 5

Time used to render debug report: 0.0001 secs