Website Toolbar for custom class?

Author Message

Gabriel Ambuehl

Friday 18 May 2007 11:38:44 am

So I have added a plain custom class to 3.9.2, added it to the AvailableForClasses array in websitetoolbar.ini, cleared the cache, but the website toolbar is not shown on objects of that class. What am I missing?

Visit http://triligon.org

Gabriel Ambuehl

Saturday 19 May 2007 3:07:49 am

Looks like I had edited the wrong ini File, correct one is in extension/ezwebin/settings/websitetoolbar.ini

Visit http://triligon.org

Felix Gluecklich

Friday 04 January 2008 4:16:42 am

I have the same problem.

my entry in websitetoolbar.ini looks like this:

# Settings related to Website Toolbar
[WebsiteToolbarSettings]
# Controls for which content classes eZODF buttons are displayed in the Website Toolbar.
ODFDisplayClasses[]
ODFDisplayClasses[]=documentation_page
ODFDisplayClasses[]=blog
ODFDisplayClasses[]=blog_post
ODFDisplayClasses[]=folder
ODFDisplayClasses[]=article
ODFDisplayClasses[]=article_mainpage
ODFDisplayClasses[]=article_subpage
ODFDisplayClasses[]=event

AvailableForClasses[]=my_own_contentclass

# This list contains content class identifiers,
# which will not be displayed in the drop down menu of the Website Toolbar.
HiddenContentClasses[]=banner
HiddenContentClasses[]=common_ini_settings

But in the select box of website toolbar, logged in as admin with full rights of all,
shows not the new custom content class. What is wrong?

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 30 2025 22:22:11
Script start
Timing: Jan 30 2025 22:22:11
Module start 'layout'
Timing: Jan 30 2025 22:22:11
Module start 'content'
Timing: Jan 30 2025 22:22:12
Module end 'content'
Timing: Jan 30 2025 22:22:12
Script end

Main resources:

Total runtime1.0249 sec
Peak memory usage8,192.0000 KB
Database Queries57

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0041 588.1406151.2109
Module start 'layout' 0.00410.0029 739.3516220.6875
Module start 'content' 0.00701.0172 960.03914,298.7578
Module end 'content' 1.02410.0008 5,258.79697.8438
Script end 1.0249  5,266.6406 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00310.3070160.0002
Check MTime0.00120.1147160.0001
Mysql Total
Database connection0.00080.082010.0008
Mysqli_queries0.956393.3077570.0168
Looping result0.00040.0395550.0000
Template Total0.979795.620.4899
Template load0.00180.180320.0009
Template processing0.977995.406520.4889
Template load and register function0.00170.161910.0017
states
state_id_array0.00170.163910.0017
state_identifier_array0.00080.074220.0004
Override
Cache load0.00150.1507120.0001
Sytem overhead
Fetch class attribute can translate value0.00180.171320.0009
Fetch class attribute name0.00180.173730.0006
XML
Image XML parsing0.00030.024420.0001
class_abstraction
Instantiating content class attribute0.00000.000730.0000
General
dbfile0.00190.1856100.0002
String conversion0.00000.000540.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
4content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
1content/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: 11
 Number of unique templates used: 6

Time used to render debug report: 0.0001 secs