htmlArea

A directory of browser-based WYSIWYG editors

  MAIN
INDEX
SEARCH
POSTS
WHO'S
ONLINE
LOG
IN

Home: htmlArea 2: htmlArea 2 & 3 archive (read only): htmlArea v2.0 - Add-Ons:
disabling functionality in Luis Editor


The htmlArea 2 & 3 editors have been discontinued.

We've made these forums available as a read-only reference and knowledge-base for people using or developing editors based on htmlArea 2 or 3.

Anyone who is interested in taking over version 2 or 3 is free to do so. All we ask is that you choose a new name that doesn't have "htmlarea" in it to avoid confusion with this site. We'll even give you a link in the directory to make it easier for people to find you. If you are developing or hosting an htmlArea based-editor under a new name, please submit it to our directory.

 


hirtshals
New User

Mar 25, 2004, 7:58 AM

Post #1 of 3 (3762 views)
Shortcut
disabling functionality in Luis Editor Can't Post

Hi everyone - this is my first post. Im think the htmlarea is really fantastic, and the Luis version is incredible.

I have read some of the post in the forum, and can see that a working Form builder is not included in the download from Luis site, however when i click on Form i get up a grey box - with all avaliable form items - off course nothing works, as i read the functionaliy is copyright protected.

If its OK - and youre reading this post Luis, i would like to ask you a question -

How do you then disable the e.g Insert Form - on mouse Rigth Click !!

Im building a small website for my friend - which is a non programmer, and he therefor do not know any html programming, im planning to provide him with an html editor - is it OK to use your version - ??


Luis
Veteran

Mar 25, 2004, 10:25 AM

Post #2 of 3 (3754 views)
Shortcut
Re: [hirtshals] disabling functionality in Luis Editor [In reply to] Can't Post

Hi hirtshals:

I think there is a confussion here. Everything in my .zip file works and is open (copyright free). The zip file includes a different version of the forms manager I have in my demo site, which is the version that is copyrighted. The only limitation in the zipped Forms Manager is that it doesn't have editing optons. (you can only insert form elements but you cannot edit them).

In order the Forms Manager version in the zip files work, it must be in a real server. It uses SSI (server side includes) and therefore it can't work locally. Usually most servers allow to include files only in .shtml files. Currently the form manager file using includes is mpc.html.

If you have your editor in a real server (local or remote), try:

changing the extension to mpc.shtml.

If it doesn't work, ask your hosting provider which extensions you can use.

If you still want to disable it from the right click menu, search for function WriteMenuItems(objname) in editor.js.

First, comment out the block that starts with //Form_CMenu and then, search for all instances of insertform in the var array of the remaining blocks of this function and take them out of the array. For example, in the following block, you should erase the part in red.

var InsertOptions_CMenu= new Array(openfile,openword,paste,separator,image,upload,inserttable
,insertform,inserttemplate,separator,helpfile,about);

I hope this helps.


Don't give up!!
http://webstationone.com/test/htmlarea


(This post was edited by Luis on Mar 25, 2004, 10:26 AM)


infoseek
Novice

Mar 25, 2004, 3:28 PM

Post #3 of 3 (3743 views)
Shortcut
Re: [Luis] disabling functionality in Luis Editor [In reply to] Can't Post

Hello Luis, I've been following the forum here and I must tell you that you have developed one heck of a program with htmlArea. My hats off to you.



Also, I use htmlArea ver 2.03 on my local portal site and would like to know how difficult it would be to upgrade to your version? I downloaded your version last night - I didn't do the page someone else did but now I can't get a hold of him.

Any info or feedback would be much appreciated.

Juan Colome

 
 
 


Search for (options)