Toolbar in my extension

Author Message

Ivan Švogor

Thursday 14 October 2010 2:51:24 am

Hello, I developed my extension and it does what it's supposed to do perfectly. I'm wondering is there a way to show toolbar (for adding classes) in my extension. So editor can add some content. Is this conventional for modules on not?

Thank you.

Thiago Campos Viana

Thursday 14 October 2010 4:49:39 am

Hi

It's just weird, because all the toolbar functions are related to content management. But I think you will need to edit extension/ezwt/design/standard/templates/parts/website_toolbar.tpl because in toolbar settings there's nothing about including toolbar in other modules and views, just for the content module.

eZ Publish Certified Developer: http://auth.ez.no/certification/verify/376924

Twitter: http://twitter.com/tcv_br

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

Main resources:

Total runtime0.4394 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.0051 589.0391152.6250
Module start 'layout' 0.00510.0023 741.664139.4531
Module start 'content' 0.00740.4308 781.1172526.5391
Module end 'content' 0.43830.0011 1,307.65638.1719
Script end 0.4394  1,315.8281 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00300.6941160.0002
Check MTime0.00120.2800160.0001
Mysql Total
Database connection0.00100.238710.0010
Mysqli_queries0.400191.0611540.0074
Looping result0.00040.0966520.0000
Template Total0.408092.920.2040
Template load0.00210.484520.0011
Template processing0.405992.367220.2029
Template load and register function0.00010.026210.0001
states
state_id_array0.00090.213210.0009
state_identifier_array0.00080.186820.0004
Override
Cache load0.00170.388190.0002
Sytem overhead
Fetch class attribute can translate value0.00050.120220.0003
Fetch class attribute name0.00090.198230.0003
XML
Image XML parsing0.00050.112420.0002
class_abstraction
Instantiating content class attribute0.00000.001630.0000
General
dbfile0.00120.2795160.0001
String conversion0.00000.001740.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
2content/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: 7
 Number of unique templates used: 5

Time used to render debug report: 0.0001 secs