About Toolbar

Author Message

Pascal France

Tuesday 12 September 2006 7:15:15 am

Hi,

I did the following test:

I set tow tools: login and node_list for my public siteaccess. So, the toolbar.ini.append.php template contains:

[Toolbar_right]
Tool[]
Tool[]=login
Tool[]=node_list

[Tool_right_node_list_2]
parent_node=90
title=Last articles
show_subtree=90
limit=15
sort_by=priority
treelist_check=no

Now, in this template, I delete by hand all the lines about the node_list tool and keep only:

[Toolbar_right]
Tool[]
Tool[]=login
Tool[]=node_list

I delete all the caches of ezp and of Firefox and display the right-tool admin page.
Why the node_list tool is still present in the admin page and in the public site ? (this time with the default values wich are in toolbar.ini)

It seems there is another file than toolbar.ini.append.php wich contains the tools that must be displayed. What is this file ? (I did a search in the database, but I found nothing about tools).

Regards

Pascal

Ce qui embellit le désert c'est qu'il cache un puits... quelque part... (A. de Saint-Exupéry) - http://luxpopuli.fr/eZ-Publish

Claudia Kosny

Tuesday 12 September 2006 8:13:19 am

Hello Pascal

You say you kept only

[Toolbar_right]
Tool[]
Tool[]=login
Tool[]=node_list

Well - this tells EZ to use the tools login and node_list - which is exactly what it is doing if I understand you right. If you do not want a node listing, delete the line with the node_list.

Greetings from Luxembourg

Claudia

Pascal France

Tuesday 12 September 2006 8:33:59 am

Hi Claudia,

I am really sorry ! I must be very tired ;-)

Regards

Pascal

Ce qui embellit le désert c'est qu'il cache un puits... quelque part... (A. de Saint-Exupéry) - http://luxpopuli.fr/eZ-Publish

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

Main resources:

Total runtime0.8078 sec
Peak memory usage4,096.0000 KB
Database Queries57

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0082 588.9141152.6094
Module start 'layout' 0.00820.0037 741.523439.4141
Module start 'content' 0.01190.7943 780.9375498.8984
Module end 'content' 0.80620.0016 1,279.835912.1953
Script end 0.8077  1,292.0313 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00330.4122160.0002
Check MTime0.00130.1638160.0001
Mysql Total
Database connection0.00260.317410.0026
Mysqli_queries0.744892.2081570.0131
Looping result0.00050.0663550.0000
Template Total0.769195.220.3845
Template load0.00270.337020.0014
Template processing0.766394.869320.3832
Template load and register function0.00030.031810.0003
states
state_id_array0.00180.223110.0018
state_identifier_array0.00060.079220.0003
Override
Cache load0.00210.2658260.0001
Sytem overhead
Fetch class attribute can translate value0.00070.091120.0004
Fetch class attribute name0.00130.161030.0004
XML
Image XML parsing0.00030.041620.0002
class_abstraction
Instantiating content class attribute0.00000.001030.0000
General
dbfile0.00160.2040100.0002
String conversion0.00000.001140.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
6content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
3content/datatype/view/ezxmltags/literal.tpl<No override>extension/community/design/standard/templates/content/datatype/view/ezxmltags/literal.tplEdit templateOverride template
1content/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: 15
 Number of unique templates used: 6

Time used to render debug report: 0.0002 secs