Online Editor remove button

Author Message

Samuel Sauder

Monday 01 May 2006 8:32:46 am

I would like to hide the buttons for some of the behaviours in the Online Editor. For example when I am editing my custom class, it should not allow to insert objects.
I looked in 3 places
extension/ezdhtml/design/standard/stylesheets/ezdhtml/editor.css
extension/ezdhtml/design/standard/javascripts/ezdhtml/ezeditor.js
extension/ezdhtml/design/standard/templates/content/datatype/edit/ezxmltext_ezdhtml.tpl

and cannot find a configuration like that without hacking the JavaScript. And then if I need to upgrade it my hacks are broken. Any cool tips?

liu spider

Monday 01 May 2006 9:40:50 am

Have no idea about OE, but in SJSD, it is as easy as overwrite a template file (in fact you just need to edit an array in a js file, and save that file in your own design dir, so it won't be overwrited next time you update SJSD)
http://ez.no/community/contribs/applications/sjsd_real_fckeditor_xmltext_integration

http://liucougar.scim-im.org
SCIM Input Method Platform
http://scim.sf.net
SJSD Online Editor
http://sf.net/projects/sjsd

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 19 2025 11:46:57
Script start
Timing: Jan 19 2025 11:46:57
Module start 'layout'
Timing: Jan 19 2025 11:46:57
Module start 'content'
Timing: Jan 19 2025 11:46:57
Module end 'content'
Timing: Jan 19 2025 11:46:57
Script end

Main resources:

Total runtime0.0189 sec
Peak memory usage2,048.0000 KB
Database Queries3

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0061 590.3906152.6406
Module start 'layout' 0.00610.0037 743.031339.4766
Module start 'content' 0.00970.0067 782.507889.3516
Module end 'content' 0.01640.0024 871.859430.3047
Script end 0.0188  902.1641 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.002915.4019140.0002
Check MTime0.00136.8611140.0001
Mysql Total
Database connection0.00105.112110.0010
Mysqli_queries0.003216.784730.0011
Looping result0.00000.122510.0000
Template Total0.001910.310.0019
Template load0.00115.821810.0011
Template processing0.00084.401110.0008
Override
Cache load0.00084.180110.0008
General
dbfile0.00189.408380.0002
String conversion0.00000.056840.0000
Note: percentages do not add up to 100% because some accumulators overlap

Templates used to render the page:

UsageRequested templateTemplateTemplate loadedEditOverride
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 1
 Number of unique templates used: 1

Time used to render debug report: 0.0001 secs