htmlArea

A directory of browser-based WYSIWYG editors

  MAIN
INDEX
SEARCH
POSTS
WHO'S
ONLINE
LOG
IN

Home: htmlArea 3 (beta): htmlArea 2 & 3 archive (read only): htmlArea v3.0 - Add-Ons:
Extended File Manager (EFM 1.0 beta) for HtmlArea 3 Rc 3 - Download Available


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.

First page Previous page 1 2 3 Next page Last page  View All


AG
Novice

Feb 9, 2005, 12:56 PM

Post #26 of 69 (23213 views)
Shortcut
Re: [afru] how to catch right click in moz? [In reply to] Can't Post

can you give a step by step description of the error? I am having troubles reproducing it.

Thank you

AG


afru
Novice

Feb 10, 2005, 5:40 AM

Post #27 of 69 (23128 views)
Shortcut
Re: [AG] how to catch right click in moz? [In reply to] Can't Post

Hi all,

Thank you for your patience. I was busy with some other project. Ok anyhow, I have uploaded EFM1.0b to the demo site. You can download it from below url.

http://www.afrusoft.com/htmlarea

By the way, I dont know why people are so secretive about coding. I have posted my problem in half a dozen forums but none of them had proper reply.

Ok any how I am posting my problem once again as simple as I can.


Quote
Problem : How to capture right click from inside <a> tag or <img > tag through onmousedown or onmouseup events and disable context menu for that element only? Ofcourse I need crossbrowser script. And "oncontextmenu" wont work on Mac/ie.



So that you can create right click menu for images, links and even table cells. I know how to write it by using add listener to document but it will make only one menu for the whole document. I think you understand what I am upto.

I am really very upset that no body is helping me out when I really get into trouble.

Hope some body who knows the answer will come forward and spend atleast 5 mins to post it.


Cheers to all...

Download EFM1.0b and enjoy.

Download URL once again : http://www.afrusoft.com/htmlarea

Have a nice day :)

Afru.




Quote
Extended File Manager EFM 1.0b for HtmlArea 3.0
Its always very nice to hear comments from others.
Be sure to leave your comments whenever you gain something.





afru
Novice

Feb 10, 2005, 8:27 AM

Post #28 of 69 (23079 views)
Shortcut
Re: [afru] how to catch right click in moz? [In reply to] Can't Post

Hi AG,

I have checked your posted URL.

http://www.catech-systems.com/plugins/ExtendedFileManager/example2.html

It seem to be that you have your example file in EFM folder. But your "_editor_url" path in your example file was not set properly. It should point to folder where your htmlarea.js file is located.

Hope you will get it.


Quote
My advice is to test htmlarea without installing the plugin first.
When your htmlarea is fine and running, then try to install the plugin and it will work perfectly.



Have a nice day :)

Afru.


Quote
Extended File Manager EFM 1.0b for HtmlArea 3.0
Its always very nice to hear comments from others.
Be sure to leave your comments whenever you gain something.





nikotto
User

Feb 10, 2005, 9:14 AM

Post #29 of 69 (23073 views)
Shortcut
Re: [afru] how to catch right click in moz? [In reply to] Can't Post

much, much thanks for the download-link :D works great!!


if for the contextmenu i played around a bit... didn't get it working... in mozilla the contextmenu always shows up...

found some scripts like this:
http://javascript.internet.com/page-details/disable-images-click.html
...not working :(

some google-research returned this:
http://www.javascripter.net/faq/rightbu2.htm
...an ugly solution imho.. you need mouseover and set some vars... although it might work (actually i din't try)


another suggestion:
you disable the context-menu for the whole images.php-document (using the usual technice like http://www.tipsntutorials.com/tips/Javascript/7)
and then in the onmousedown of the <td> you catch the event!
(don't know if it is still there when you disabled the context-menu...)

greets


AG
Novice

Feb 10, 2005, 10:56 AM

Post #30 of 69 (23051 views)
Shortcut
Re: [afru] how to catch right click in moz? [In reply to] Can't Post

Hi Afru,

hahahah, i feel like a fool. I assumed the new addition was like HTMLArea 2.03. I never actually used HTMLArea 3. Now i figured it all out, and have it working great!. I am in the process of fitting it all in and will try my best to shed some light on the bug you have.

Thanks again,

AG


nikotto
User

Feb 10, 2005, 1:17 PM

Post #31 of 69 (23036 views)
Shortcut
Re: [AG] how to catch right click in moz? [In reply to] Can't Post

actually we are in the forum called "htmlArea 3 (beta)" *g*
HTMLArea 3 is much better anyway - cross-browser-support rules!
(as i'm working on linux, and some cusomers of our company are working on mac)


AG
Novice

Feb 10, 2005, 1:23 PM

Post #32 of 69 (23033 views)
Shortcut
Re: [nikotto] how to catch right click in moz? [In reply to] Can't Post

hahhah, i knew that much as to which forum we were in, but since i never used HTMLArea 3, i assumed the package included everything Crazy

HTMLArea 3 is really nice. It works really well, especially with Afru's new addition!


afru
Novice

Feb 10, 2005, 10:31 PM

Post #33 of 69 (23003 views)
Shortcut
Re: [nikotto] how to catch right click in moz? [In reply to] Can't Post


In Reply To
HTMLArea 3 is much better anyway - cross-browser-support rules!
(as i'm working on linux, and some cusomers of our company are working on mac)



Hi nikotto,

I think you agree that HTMLArea is cross browser, so we should design plugins to be used on all browsers.

Actually I thought that there will be very few people who will use MAC/IE and so we
shall use "oncontextmenu" for creating context menus but when u said that you have
some clients working on mac I discarded the idea.

I have found an example from dynamic drve that creates different menu links when
left clicked on the links.

Just check it out at http://www.afrusoft.com/htmlarea/menu.html

Go though the source of the file and check whether you can make it for right click
instead.

Even if you want to implement move option, still we need to implement right click to
select the option.

Have a nice day :)

Afru.


Quote
Extended File Manager EFM 1.0b for HtmlArea 3.0
Its always very nice to hear comments from others.
Be sure to leave your comments whenever you gain something.





nikotto
User

Feb 11, 2005, 12:06 AM

Post #34 of 69 (22985 views)
Shortcut
Re: [afru] how to catch right click in moz? [In reply to] Can't Post

hey...
on Mac/IE HTMLArea isn't working anyway!
(our customers are forced to use firefox)

so when you write a plugin for HTMLArea you can expect that it will be never used by a Mac/IE.

Although you might plan to release a standalone-version! (like wei did)

in that case it would be of course very nice to get it running on mac/ie too.



Quote
Just check it out at http://www.afrusoft.com/htmlarea/menu.html

Go though the source of the file and check whether you can make it for right click
instead.

nope. this script uses onclick - which does only catch the left-mouse-button.


Quote
Even if you want to implement move option, still we need to implement right click to
select the option.


currently we have a delete and an edit-button. why not add a third button (move)? - we don't need a context-menu at all then!
another question is of course if this looks good and if there is still enough space for the filename.

niko


Mirical Bernd
Novice

Feb 11, 2005, 1:10 AM

Post #35 of 69 (22977 views)
Shortcut
Re: [afru] how to catch right click in moz? [In reply to] Can't Post


In Reply To


I tested it now, with some difficulties:

1. If you use "de" or any other language apart of "en" in your HTMLArea you won't get it to load. It would be good to put at least the language-files into the lang-folder. They don't need to be translated - which can be done by other - they just need to be there.

2. I allowed upload, but it didn't work. I came to the conclusion that the foldersize was connected to this. When I made it bigger, it worked. BUT this isn't commented in the config-file. Wink

3. The problem with the "browse"-button on the upload-field still exists. If you use a german browser it is named "Durchsuchen" which makes it much longer and pushes "Refresh", "OK" and "Cancel" beyond the border of the window and you need to resize the window by hand to see them again. A possible solution would be to replace in the manager.php these lines:


Code
				<table cellpadding="0" cellspacing="0" border="0"> 
<tr>
<td><input type="hidden" name="MAX_FILE_SIZE" value="<? echo ($IMConfig['max_filesize_kb']*1024); ?>" />
<input type="file" name="upload" id="upload"/></td>
<td>&nbsp;<button type="submit" name="submit" onclick="doUpload();"/>Upload</button></td>
</tr>
</table>


with these lines:

Code
				<table cellpadding="0" cellspacing="0" border="0"> 
<tr>
<td><input type="hidden" name="MAX_FILE_SIZE" value="<? echo ($IMConfig['max_filesize_kb']*1024); ?>" />
<input type="file" name="upload" id="upload"/></td>
</tr><tr>
<td>&nbsp;<button type="submit" name="submit" onclick="doUpload();"/>Upload</button></td>
</tr>
</table>


which makes it a bit better. It's not a perfect solution. The best would be to open the window a bit larger. I am not a big Javascript master, so I didn't find any reference in the JS-files.

And now some idea which might be really good: How about the possibility to sort the files in the list view by name, date, size? Just like in Explorer Smile
------------------------------
Xinha - An HTMLArea-Fork which gets rid of the bugs


afru
Novice

Feb 11, 2005, 3:50 AM

Post #36 of 69 (22943 views)
Shortcut
EFM 1.0b Patch to insert file link to images in IE [In reply to] Can't Post

Hi All,

First of all let me clear you about the difference between the following three terms.

1. Insert Web Link. This is provided with core htmlarea and is used to insert a web link like "http://www.google.com"

2. Insert Image. This is also provided by core htmlarea but EFM overrides it and popup its own dialog box to select an image and insert it.

3. Insert File Link. This is provided with EFM and is used to insert link to any type of files that are available on your server.

Sorry if advanced users feel that it is too silly to give such explanation but I really feel to explain them because I am getting too many mails from users confusing between the 3 terms.

Ok coming to the point, many of EFM users reported me that they are getting error in IE while inserting file link to an image.


Try doing this on IE.
Insert a small image. Select it and then click on Insert File Link button. You will get Javascript error and the insert file link dialog wont open.

Actually this is not a bug in EFM. but it is in the core htmlarea itself. Because, you will get the same error even if you try to insert web link to an image.

Ok here is the patch for it. Just download "extended-file-manager.js" file and over write the old one in EFM folder.

This enables you to insert file links to any images.
Best example for this is to have a small image linked to a big image. That is creating a popup image.

By the way, the fresh EFM1.0b zip file that is at http://www.afrusoft.com/htmlarea is patched now and you will not need to patch it again.


Cheers,
Afru.


Quote
Extended File Manager EFM 1.0b for HtmlArea 3.0
Its always very nice to hear comments from others.
Be sure to leave your comments whenever you gain something.



Attachments: extended-file-manager.js (5.59 KB)


mmcw
User

Feb 11, 2005, 10:18 AM

Post #37 of 69 (22864 views)
Shortcut
Re: [afru] EFM 1.0b Patch to insert file link to images in IE [In reply to] Can't Post

In you example at http://www.afrusoft.com/htmlarea/ it still does not work?
Did you forgot to patch the example?


AG
Novice

Feb 11, 2005, 10:40 AM

Post #38 of 69 (22857 views)
Shortcut
Re: Possible bug on Windows servers when uploading files? [In reply to] Can't Post

Hi Afru,

I testing everything on a Unix machine, and i got things to run - but when i try to switch to a Windows server the image uploading seems to not work.

The error it gives me is that i dont have write access to the folder/or i exceed my limit. I know that i have not exceeded my limit and that the folder has write access because i am using HTMLArea 2 with an image uploading tool to that directory (it is in ASP though, not PHP).

The file manager shows all the contents in the directory, but wont allow me to upload.

Any ideas?


afru
Novice

Feb 12, 2005, 12:04 AM

Post #39 of 69 (22806 views)
Shortcut
Re: [AG] Possible bug on Windows servers when uploading files? [In reply to] Can't Post

Hi AG,

First of all let me assure you that there cant be a bug in EFM on Windows server
because, I have designed the whole thing on Windows NT server and never tested it
myself on unix Smile

Anyhow as you are getting upload problem just follow the below steps.
  • Check if your maxfilesize is set to a smaller KB in config file. Make it some 10000 for test purposes.
  • Check if your maxfoldersize is set to a smaller MB in config file. Make it some 50 MB for test purposes.
  • Check if you have enough freespace showing right below upload button.
  • Check if your uploading file size is not larger than 2.0 MB becuase php wont allow to upload more than 2.0 MB by default.
  • Check if your folder has write permissions.
  • Also check if your upload permissions for php are set correctly. You can do this by checking simple php upload scripts available around the web. If your upload works fine on any other php script, then it will surely work on EFM.


If you are able to upload files through other php scripts and if you still get an error uploading file, through EFM, please send me the exact error text that you are getting on error box.

I will surely help you all the way I can.

Have a nice day :)

Afru.


Quote
Extended File Manager EFM 1.0b for HtmlArea 3.0
Its always very nice to hear comments from others.
Be sure to leave your comments whenever you gain something.





Admino
New User

Feb 12, 2005, 3:06 AM

Post #40 of 69 (22793 views)
Shortcut
Afru - very good work! [In reply to] Can't Post

Hi,
Afru, thank you, Extended File Manager is really best!
All is better than in File Manager and ImageManager plugins.
EFM is all in ONE :).

I have a idea:
Can you do this?
If I want in IMAGE MODE insert FULL IMAGE I click on button INSERT FULL IMAGE(or something like this), but if I want to insert THUMB i click on button INSERT THUMB.

It wasn't in ImageManager, but more people welcome(enjoy) this function.

I am going to try do it. But I cant JavaScript well.
Sorry, my English isn't good too Blush.

I'll come forward, if I make it.
Thanks once more.


afru
Novice

Feb 12, 2005, 9:35 PM

Post #41 of 69 (22742 views)
Shortcut
Re: [Admino] Afru - very good work! [In reply to] Can't Post

Hi All,

EFM 1.0 RC1 is coming soon with following features added.

* A nice Context Menu on right click
* Multi Language Support
* Cut, Copy, Paste and Rename Features.

I am still working on it and will post it in the forum once it is ready.

Have a nice day :)

Afru.


Quote
Extended File Manager EFM 1.0b for HtmlArea 3.0
Its always very nice to hear comments from others.
Be sure to leave your comments whenever you gain something.





Admino
New User

Feb 13, 2005, 1:28 AM

Post #42 of 69 (22725 views)
Shortcut
Re: [afru] Afru - very good work! [In reply to] Can't Post

Hi, Afru.

If you want, I can help you with translate EFM to czech, russian language.Tongue

My contact:
E-mail: info@czechtur.com
ICQ: 97562248
Skype: czechtur.com <- the best Smile

Bye.


Mirical Bernd
Novice

Feb 13, 2005, 4:58 AM

Post #43 of 69 (22706 views)
Shortcut
Re: [afru] Afru - very good work! [In reply to] Can't Post

I would be taking on the german and italian translation :)
------------------------------
Xinha - An HTMLArea-Fork which gets rid of the bugs


joduba
New User

Feb 13, 2005, 6:43 AM

Post #44 of 69 (22693 views)
Shortcut
Re: [afru] Extended File Manager (EFM 1.0 beta) for HtmlArea 3 Rc 3 - Download Available [In reply to] Can't Post

Hi Afru,

You job is great! congratulations and thanks.
We are changing our "WYSIWYG HTMLeditor" to HTMLArea and your pluggin help so much to take that decision.

One thing that we have today (because we implemented internally), is really similar to your "LinkFile" mode.

We call it Attachment, and the idea is simple, "I can attach a file to my text". It displays and Icon in the middle of the text (where I placed the attach) with a Link to the file that I decided to upload.

The main difference with your TextLink is the ability to automatically detect file-type and display the apropiate icon.

In the input window, we additionally ask for following fields:

Display options:"Large Icons","Small Icons","Text"
Alternate Text: INPUT TEXT (used as ALT text for the icons, or Text in text mode).

I can play in your Source and implement it (as you can imagine is really simple), or perhaps you are interested to add this functionality to your standard distribution.

For me is better if is included in standard distribution, looking to future releases...

Let me know what do you think, and if I can help you.

Best Regards


afru
Novice

Feb 13, 2005, 10:26 AM

Post #45 of 69 (22651 views)
Shortcut
Re: [joduba] Extended File Manager (EFM 1.0 beta) for HtmlArea 3 Rc 3 - Download Available [In reply to] Can't Post


Quote
The main difference with your TextLink is the ability to automatically detect file-type and display the apropiate icon.

In the input window, we additionally ask for following fields:

Display options:"Large Icons","Small Icons","Text"
Alternate Text: INPUT TEXT (used as ALT text for the icons, or Text in text mode).




Hi joduba,

I like your idea very much. We can surely implement it in our next release.

So far, when the user didnt select any text or image, we are forcing him to type some text and select it. Then only file link will work.

But now, we can make it to insert the file name with an icon if the user didnt select any thing and tried to use file link.

Hope this is ok. All we have to do is to check if the user has selected anything. If he has selected anything,
link will be created around the selection , otherwise a link will be created with an icon and file name (or optional text).

Very nice idea.

If you have implemented this on EFM. Please send it to me soon, so that I can add it to the next release.

Have a nice day :)

Afru.


Quote
Extended File Manager EFM 1.0b for HtmlArea 3.0
Its always very nice to hear comments from others.
Be sure to leave your comments whenever you gain something.





Mirical Bernd
Novice

Feb 13, 2005, 1:11 PM

Post #46 of 69 (22628 views)
Shortcut
Re: [afru] Extended File Manager (EFM 1.0 beta) for HtmlArea 3 Rc 3 - Download Available [In reply to] Can't Post

Could you please make this feature in a way, that you can turn it off in the Configuration? Just because that I would like to be able to select files without having an icon in front of it :)
------------------------------
Xinha - An HTMLArea-Fork which gets rid of the bugs


nikotto
User

Feb 14, 2005, 1:51 AM

Post #47 of 69 (22575 views)
Shortcut
Re: [Admino] Afru - very good work! [In reply to] Can't Post

Hello Admino

Me too always wanted to have some kind of imageManger that inserts a thumbnail and if i click on it it opens a popup with the full-size-image.

My suggestions for that:
- a third toolbar-button "Insert Thumbnail Image"
- works exactly like the normal Insert Image
- in config you can define a fixed width and/or height
- that height/width will be used in the File Manager (with right proportions)
- when you select an image an click OK EFM will insert
o a thumbnail-image (automaticall created by the ImageLibary)
o a <a href="fullsize.php?path=foo.jpg" onclick="window.open(this.href, ....)">
- configurable:
o the link for the popup
o the onclick-event for the link
o the size (predefined) of the thumbnail
o additional HTML-code inserted with the thumbnail (for example a small + that shows that there exists a large picture)
o best would be to have this configuration as HtmlArea-Plugin-Config-options - not in the config.inc.php of EFM

ok, these are my ideas, don't know if this is possible - and don't know if afru has interests in a feature like that - i would like to help.

greets niko


SvenF
New User

Feb 14, 2005, 4:58 AM

Post #48 of 69 (22495 views)
Shortcut
Re: [nikotto] Afru - very good work! [In reply to] Can't Post

Hi nikotto, since weekend I am working on an Extension for EFM, that will do most of your suggestions...
I hope I have something to show an the weekend.


Greets Sven



nikotto
User

Feb 14, 2005, 5:06 AM

Post #49 of 69 (22490 views)
Shortcut
Re: [SvenF] Afru - very good work! [In reply to] Can't Post

great, that would be fantastic :D


joduba
New User

Feb 14, 2005, 5:07 AM

Post #50 of 69 (22487 views)
Shortcut
Re: [afru] Extended File Manager (EFM 1.0 beta) for HtmlArea 3 Rc 3 - Download Available [In reply to] Can't Post

Hi Afru,

You has perfeclty understood my sugestion.
If is not too much, I will add a "pull-down" menu to select between "Big Icons", "Small Icons", "Text"... and a input text to ask for a ALT text of the icon.

Currently I'm working to integrate (substitute) the WYSIWYG editor for HTML, this will take me a while (1 week?)

And next I have two weeks far from my development computer...

I'm not a JavaScript guru, I only play a little bit with it.. (copy&paste) ;-)

If finally I decide to implement it, I will share with you, promised. In meanwhile, I found a pluggin that is similar to EFM called InsertFile... it partially does what we require...

Best Regards

First page Previous page 1 2 3 Next page Last page  View All
 
 


Search for (options)