modifying the Front End editing toolbar

Author Message

Andy Woods

Wednesday 16 February 2011 6:52:52 am

Is it possible to modify the Front End editing toolbar?

I don't want to be offer the following buttons to some of our users:

  • Sorting,
  • Toggle menu link type edit
  • Push to block

Is this achieved via configuring user roles or is there an ini file to edit, or another way?

Thanks,

Andy

Christian Pfeffer Gjengedal

Wednesday 16 February 2011 7:14:28 am

Take a look at how ezmultiupload extends ezwt:

./settings/websitetoolbar.ini.append.php
./design/standard/templates/parts/websitetoolbar/ezmultiupload.tpl
./design/standard/images/ezwt-icon-upload.png

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

Main resources:

Total runtime0.8882 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 588.0313152.6406
Module start 'layout' 0.00510.0026 740.671939.4844
Module start 'content' 0.00770.8790 780.1563494.6094
Module end 'content' 0.88670.0014 1,274.76568.1406
Script end 0.8881  1,282.9063 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00310.3448160.0002
Check MTime0.00120.1385160.0001
Mysql Total
Database connection0.00080.086910.0008
Mysqli_queries0.846995.3475540.0157
Looping result0.00060.0665520.0000
Template Total0.862797.120.4314
Template load0.00190.210720.0009
Template processing0.860996.924120.4304
Template load and register function0.00020.018710.0002
states
state_id_array0.00080.088610.0008
state_identifier_array0.00120.137120.0006
Override
Cache load0.00150.1742180.0001
Sytem overhead
Fetch class attribute can translate value0.00120.138320.0006
Fetch class attribute name0.00190.212630.0006
XML
Image XML parsing0.00080.092320.0004
class_abstraction
Instantiating content class attribute0.00000.000930.0000
General
dbfile0.00080.0855170.0000
String conversion0.00000.001040.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
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/li.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/li.tplEdit templateOverride template
1content/datatype/view/ezxmltags/ul.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/ul.tplEdit templateOverride template
1content/datatype/view/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.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: 12
 Number of unique templates used: 8

Time used to render debug report: 0.0001 secs