configuring OE settings

Author Message

Marko Žmak

Thursday 19 January 2006 5:44:13 am

I would like to configure some things in OE:

- disable inserting objects in OE
- disable "Disable Editor" button

How do I do it?

Also how configure that this settings work only for some classes?

--
Nothing is impossible. Not if you can imagine it!

Hubert Farnsworth

Marko Žmak

Sunday 22 January 2006 3:07:24 am

Does anyone know an answer to this?

--
Nothing is impossible. Not if you can imagine it!

Hubert Farnsworth

Marko Žmak

Tuesday 24 January 2006 4:05:32 pm

Can anyone answer me this?

--
Nothing is impossible. Not if you can imagine it!

Hubert Farnsworth

Kirill Subbotin

Wednesday 25 January 2006 2:37:19 am

You can remove "Disable editor" button in ezxmltext_ezdhtml.tpl template. But its not enough to just remove a button, you should also remove a fallback edit window in case browser doesn't support html editing (for example Opera 8), or javascript is disabled.

Disabling "insert object" button is not an easy task if you want to do it in a nice way. Although you can just disable user's access to 'insertobject' view of 'ezdhtml' module. The most raw and easy way to do it is to delete 'insertobject.php' file. Not nice, although will help. ;)

If you want to remove a button from the toolbar, you should edit 'ezeditor.js' and 'ezmozillaeditor.js'.

Marko Žmak

Wednesday 25 January 2006 10:30:38 am

Am I allowed to do this changes? Are this changes maybe forbidden by the OE license?

I have a legal OE installed on the site, of course.

--
Nothing is impossible. Not if you can imagine it!

Hubert Farnsworth

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 00:33:33
Script start
Timing: Jan 19 2025 00:33:33
Module start 'layout'
Timing: Jan 19 2025 00:33:33
Module start 'content'
Timing: Jan 19 2025 00:33:34
Module end 'content'
Timing: Jan 19 2025 00:33:34
Script end

Main resources:

Total runtime1.3158 sec
Peak memory usage4,096.0000 KB
Database Queries63

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0067 587.9063152.6250
Module start 'layout' 0.00670.0037 740.531339.4453
Module start 'content' 0.01041.3037 779.9766559.0469
Module end 'content' 1.31410.0016 1,339.023412.1719
Script end 1.3157  1,351.1953 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00340.2586160.0002
Check MTime0.00140.1036160.0001
Mysql Total
Database connection0.00050.041710.0005
Mysqli_queries1.256995.5253630.0200
Looping result0.00070.0561610.0000
Template Total1.281297.420.6406
Template load0.00210.163220.0011
Template processing1.279097.205020.6395
Template load and register function0.00010.007910.0001
states
state_id_array0.00090.071410.0009
state_identifier_array0.00070.054420.0004
Override
Cache load0.00180.1374230.0001
Sytem overhead
Fetch class attribute can translate value0.00070.054420.0004
Fetch class attribute name0.00140.103160.0002
XML
Image XML parsing0.00060.046720.0003
class_abstraction
Instantiating content class attribute0.00000.002190.0000
General
dbfile0.00090.0665180.0000
String conversion0.00000.000840.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
4content/datatype/view/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.tplEdit templateOverride template
5content/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
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: 18
 Number of unique templates used: 6

Time used to render debug report: 0.0001 secs