Forums / Setup & design / configuring OE settings

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