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


Mirical Bernd
Novice

Feb 14, 2005, 8:57 AM

Post #51 of 69 (136421 views)
Shortcut
Re: [Mirical Bernd] how to catch right click in moz? [In reply to] Can't Post

Ok, one more bug-report - which is not much of a bug, but...

If I use:

[code]editor.config.toolbar = [
[ "fontname", "space",
"fontsize", "space",
"formatblock", "space",
"bold", "italic", "underline", "separator",
"subscript", "superscript", "separator", "undo", "redo"],

[ "copy", "cut", "paste", "justifyleft", "justifycenter", "justifyright", "justifyfull", "separator", "orderedlist", "unorderedlist", "outdent", "indent", "separator",
"forecolor", "hilitecolor", "separator", "inserthorizontalrule", "createlink", "insertimage","linkfile", "inserttable", "htmlmode"]
];[/code]

on our editor, some valuable and also new functions of the latest RC of htmlarea are not there. If I strip it from the generation of the editor, i.e. my table-operations and the other functions load again, but the linkfile-icon will appear under the table-operations. Even if I add "linkfile" to the htmlarea.js it will load unter the table-operations.

That's why I deactivated the plugin "ExtendedFileManager".

I would appreciate a way to insert it without removing other valuable plugins.
------------------------------
Xinha - An HTMLArea-Fork which gets rid of the bugs


afru
Novice

Feb 15, 2005, 8:42 AM

Post #52 of 69 (136349 views)
Shortcut
EFM 1.0 RC1 for testing.... [In reply to] Can't Post

Hi All,

Checkout the latest demo of EFM 1.0 RC 1 at http://www.afrusoft.com/htmlarea

New features include,
  • Right context menu
  • Move folders and files using cut and paste
  • Copy, paste for those who can afford space :)
  • Rename files and folders
  • Exact Folder size in list view
  • Recursive delete for folders
  • Multi Language support
  • Many many many bugs have been solved since Beta release.


This package is still under testing. So please take some time to test it and report any bugs you have found. I will try to solve them as soon as possible.

If everything is alright, I shall upload the zip file soon.

Note :
In image mode, I have allowed only jpg, gif, png and bmp extensions. So you cant see other files in image mode. And so you will get alerts that you cannot move or delete folders that contain hidden files when you work on folders with hidden files.


Quote
If you want to try cut copy paste without hassles, try link mode instead.
There, you will have access to all types of files and so, you can
delete or move folders.



Request :
I have found many of the visitors to misuse the demo by deleting all files or uploading too many files. This way, you cant expect me to share my work .

Make sure the folder is nice with reasonable files before you leave the demo so that others may not get confused by seeing an empty folder or getting upload size exceed errors.

Lets be professional and keep up good works.

I will be waiting for your feedback... Smile

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.





(This post was edited by afru on Feb 15, 2005, 8:43 AM)


nikotto
User

Feb 15, 2005, 11:31 AM

Post #53 of 69 (136321 views)
Shortcut
Re: [afru] EFM 1.0 RC1 for testing.... [In reply to] Can't Post

cool :D
great, much thanks!

i see you used oncontextmenu...

do you plan to release a standalone-filemanager?

niko


chet
User

Feb 15, 2005, 11:35 AM

Post #54 of 69 (136320 views)
Shortcut
Re: [nikotto] EFM 1.0 RC1 for testing.... [In reply to] Can't Post

That would be great an standalone-filemanager

Thanks for all this works, I know how much work this is


Mirical Bernd
Novice

Feb 15, 2005, 1:21 PM

Post #55 of 69 (136309 views)
Shortcut
Re: [afru] EFM 1.0 RC1 for testing.... [In reply to] Can't Post

Tested it now on your demo. What would be nice, if after renaming or editing the picture, if the list view would automatically refresh.
------------------------------
Xinha - An HTMLArea-Fork which gets rid of the bugs


afru
Novice

Feb 15, 2005, 9:20 PM

Post #56 of 69 (136290 views)
Shortcut
Re: [Mirical Bernd] EFM 1.0 RC1 for testing.... [In reply to] Can't Post


Quote
What would be nice, if after renaming or editing the picture, if the list view would automatically refresh.



Hi Mirical,

I didnt get you. I have tested EFM thoroughly before putting on the demo. The directory is perfectly refreshing after renaming any file or folder. Please check it once again. May be you would need to clear your cache. If you still didnt get it, please tell me about your browser version.

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.





pdegruijter
New User

Feb 16, 2005, 8:00 AM

Post #57 of 69 (136237 views)
Shortcut
Re: [afru] EFM 1.0 RC1 for testing.... [In reply to] Can't Post

first off all, I absolutely delighted with the emf, it's a wonderful piece of software.

Just one question, I can't upload any files, so I can't test. Does the upload eliminate any spaces from filenames? When renaming, a blank is converted into an underscore, is this also the case when uploading?

Regs,

Peter


jansid
New User

Feb 16, 2005, 8:03 AM

Post #58 of 69 (136235 views)
Shortcut
Re: [afru] EFM 1.0 RC1 for testing.... [In reply to] Can't Post

Hello
You've done great job.
It works excellent!
Great Thanks!
But I have a little problem.
1.I cannot rename, cut... because of missing context menu(I don't see them at all)
2.In thumbnail view, i can see only gif images( jpg, png aren't visible). Inserted to html are visibled.

Someone have any idea?
I'll be grateful for answering.
p.s I attached config file
Attachments: config.inc.php (5.98 KB)


afru
Novice

Feb 16, 2005, 10:00 AM

Post #59 of 69 (136209 views)
Shortcut
Re: [pdegruijter] EFM 1.0 RC1 for testing.... [In reply to] Can't Post


Quote
Just one question, I can't upload any files, so I can't test. Does the upload eliminate any spaces from filenames? When renaming, a blank is converted into an underscore, is this also the case when uploading?



Hi peter,

Yes, all spaces and hyphens are converted to underscores for unix compatibility.

This happens when you copy, rename, move or upload files. Ofcourse you can turn it off easily with a slight modification if you dont want it.

Thanks for your complements on EFM :)

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 16, 2005, 10:05 AM

Post #60 of 69 (136206 views)
Shortcut
Re: [jansid] EFM 1.0 RC1 for testing.... [In reply to] Can't Post

Dear Jansid,

I think what you have downloaded is EFM 1.0 Beta. And it doesnt have any context menus. Thats why you are not getting them. EFM.1.0 RC 1 is kept as demo for testing only and will be available for download soon.

Regarding thumbnails, turn off image library to false and check if you are able to get all thumbnails. If you are getting all thumbnails, then there is a problem with your image library. In your case it is NetPbm.

Hope you have got it....

EFM 1.0 RC 1 with context menus will be ready for download soon.... Still under testing... Just post your feed back on it.

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 16, 2005, 10:31 AM

Post #61 of 69 (136196 views)
Shortcut
Re: [afru] EFM 1.0 RC1 for testing.... [In reply to] Can't Post


In Reply To

Quote
What would be nice, if after renaming or editing the picture, if the list view would automatically refresh.

I didnt get you. I have tested EFM thoroughly before putting on the demo. The directory is perfectly refreshing after renaming any file or folder. Please check it once again. May be you would need to clear your cache. If you still didnt get it, please tell me about your browser version.


Must have been the cache, cause now it works :)
------------------------------
Xinha - An HTMLArea-Fork which gets rid of the bugs


PeteBest
New User

Feb 17, 2005, 9:40 AM

Post #62 of 69 (136122 views)
Shortcut
Re: [Mirical Bernd] EFM 1.0 RC1 for testing.... [In reply to] Can't Post

afru,

Not sure if this is already planned for the RC release, but it'd be good to have the ability to restrict the ability to delete files and folders. Apologies if I've missed these settings, but I couldn't see it in the config.inc.php of the beta version

Aside from that looks like more great work! Looking forward to the RC release Wink

Pete


thetoaster
New User

Feb 17, 2005, 12:09 PM

Post #63 of 69 (136103 views)
Shortcut
Re: [PeteBest] EFM 1.0 RC1 for testing.... [In reply to] Can't Post

hello. used another tool till now:
http://alrashid.klokan.sk/insFile/htmlareademo/
but this has some errors in v.1.1
but v. 1.0 has the nice feature, that you can insert file-size, file-date, ...

Would it be possible to implement such a thing in this nice tool also??


mmcw
User

Feb 17, 2005, 9:52 PM

Post #64 of 69 (136063 views)
Shortcut
Re: [afru] EFM 1.0 RC1 for testing.... [In reply to] Can't Post

Every time you push the right button on an image the menu icons will have to be loaded.
Maybe preloading could help make it faster.


Morph
New User

Feb 18, 2005, 4:00 AM

Post #65 of 69 (136028 views)
Shortcut
Re: EFM 1.0 RC1 for testing.... [In reply to] Can't Post

Has anyone tested the right-click menu with other languages?
I'm having the problem that it doesn't work properly while using a language other than English. (It most of the times it stays at the upper left corner of the html-area.)

Does this happen with EFM as well or does anybody know how to fix this.

Cheers
Morph


afru
Novice

Feb 18, 2005, 7:49 AM

Post #66 of 69 (135994 views)
Shortcut
Need help from JS gurus [In reply to] Can't Post

Hi all,

EFM RC1 is almost complete execpt one feature. That is thumbnail popup. I have got
many mails requesting to incorporate this into EFM. So I understood the necessity
and am trying to implement this in this release itself. I have also got some code from
Mr. Petr whom I owe a lot for his ideas.

Ok anyhow coming to the point, I have written code for inserting link around thumbnail
image if the user has selected the option for thumbail popup. Below is the code.


Code
 // Function to select image before inserting link around it. 
HTMLArea.prototype.selectNode = function(node) {
this.focusEditor();
this.forceRedraw();
var range;
if (HTMLArea.is_ie) {
range = this._doc.body.createTextRange();
range.moveToElementText(node);
range.select();
} else {
var sel = this._getSelection();
range = this._doc.createRange();
range.selectNode(node);
sel.removeAllRanges();
sel.addRange(range);
}
};

// Over ride the _insertImage function in htmlarea.js.
// Open up the ExtendedFileManger script instead.
HTMLArea.prototype._insertImage = function(image) {


var editor = this; // for nested functions
var outparam = null;
var link = null;


if (typeof image == "undefined") {
if (image)
{
if (!/^img$/i.test(image.tagName))
{
image = null;
link = null;
}
else
{
link = image.parentNode;
if (!/^a$/i.test(link.tagName))
link = null;
}
}
}


if (image) outparam = {
f_url : HTMLArea.is_ie ? image.src : image.getAttribute("src"),
f_alt : image.alt,
f_border : image.border,
f_align : image.align,
f_vert : image.vspace,
f_horiz : image.hspace,
f_width : image.width,
f_height : image.height
};


var manager = _editor_url + 'plugins/ExtendedFileManager/manager.php?mode=image';

Dialog(manager, function(param){
if (!param)
{ // user must have pressed Cancel
return false;
}


var img = image;
if (!img)
{
var sel = editor._getSelection();
var range = editor._createRange(sel);
editor._doc.execCommand("insertimage", false, param.f_url);
if (HTMLArea.is_ie)
{
img = range.parentElement();
// wonder if this works...
if (img.tagName.toLowerCase() != "img")
{
img = img.previousSibling;
}
}
else
{
img = range.startContainer.previousSibling;
}
}
else
{
img.src = param.f_url;
}

for (field in param)
{
var value = param[field];
switch (field)
{
case "f_alt" : img.alt = value; break;
case "f_border" : img.border = parseInt(value || "0"); break;
case "f_align" : img.align = value; break;
case "f_vert" : img.vspace = parseInt(value || "0"); break;
case "f_horiz" : img.hspace = parseInt(value || "0"); break;
case "f_width" : img.width = parseInt(value || "0"); break;
case "f_height" : img.height = parseInt(value || "0"); break;
}
}



//Testing directly by linking thumbnail to google.com
//Actually this variable will have the link to popupurl.
param.f_popurl="
http://www.google.com";

//create popup link around the image if popupurl is set.
if(param.f_popurl)
{
var a = link;
if (!a) try {
editor.selectNode(img);
editor._doc.execCommand("createlink", false, param.f_popurl);
a = editor.getParentElement();
var sel = editor._getSelection();
var range = editor._createRange(sel);
if (!HTMLArea.is_ie) {
a = range.startContainer;
if (!/^a$/i.test(a.tagName)) {
a = a.nextSibling;
if (a == null)
a = range.startContainer.parentNode;
}
}
} catch(e) {}
else {
var href = param.f_popurl.trim();
editor.selectNodeContents(a);
if (href == "") {
editor._doc.execCommand("unlink", false, null);
editor.updateToolbar();
return false;
}
else {
a.href = href;
}
}
}




}, outparam);



};



This code perfectly works in IE and any image inserted will be linked to google.com as per our test.

But Mozilla is inserting only image and not creating link around it. The main code that has got changed is shown in green for your reference.

If anybody have idea about how to create link around the image in Mozilla, please post it soon.

I shall release RC1 once this is complete.

Thanking you,

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.





pdegruijter
New User

Feb 20, 2005, 7:35 AM

Post #67 of 69 (135864 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,

I don't know whether my problem lies with the efm, or with the fullscreen popup. When I have a image however in a text and use the fullscreen.html, the path to the image disappears and the folder in which the popup resides becomes the active image folder.

I've been searching both the efm and fullscreen for any clues, but haven't been able to find them.

thx for your great work,

Peter


IanB
New User

Feb 21, 2005, 5:03 AM

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

HI,

i have a problem with uploading images? when i load file manager it gives me an error "access is denied"

Line 81

Char 3

manager.php?mode=image

also when i upload it says "folder does not have write permission

am running IIS


Can anybody please help


(This post was edited by IanB on Feb 21, 2005, 5:09 AM)


AG
Novice

Feb 21, 2005, 7:11 AM

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

Code

Hi,

I had the same problem on my IIS Server, yours might be the same. it has to do with the is_file() function. this is how i fixed it (the change is in one file - ExtendedFileManager.php) You will loose some of the file renaming funtionality when you upload duplicates, but at least it will work! Just change replace your old processFiles() function with this:


Code
   


/**
* Process upload files. The file must be an
* uploaded file. Any duplicate
* file will be renamed. See Files::copyFile for details
* on renaming.
* @param string $relative the relative path where the file
* should be copied to.
* @param array $file the uploaded file from $_FILES
* @return boolean true if the file was processed successfully,
* false otherwise
*/
function _processFiles($relative, $file)
{
if($file['
error']!=0)
{
Return false;
}




// START AG FIX (have to comment this out, as this function returns null for no good reason!
// if(!is_file($file['
tmp_name']))
// {
// Return false;
// }
// end ALI G FIX



if(!is_uploaded_file($file['
tmp_name']))
{
Files::delFile($file['
tmp_name']);
Return false;
}




$afruext = strtolower(substr(strrchr($file['
name'], "."), 1));

if(!in_array($afruext,$this->config['
allowed_extensions']))
{
Files::delFile($file['
tmp_name']);
Return "Cannot upload .".$afruext." Files. Permission denied.";
}

if($file['
size']>($this->config['max_filesize_kb']*1024))
{
Files::delFile($file['
tmp_name']);
Return "Unble to upload file. Maximum file size [".$this->config['
max_filesize_kb']."Kb] exceeded.";
}

if( (Files::dirSize($this->getBaseDir()))+$file['
size']> ($this->config['max_foldersize_mb']*1048576))
{
Files::delFile($file['
tmp_name']);
Return ("Cannot upload. Maximum folder size reached. Delete unwanted files and try again.");
}

//now copy the file
$path = Files::makePath($this->getBaseDir(),$relative);
$result = Files::copyFile($file['
tmp_name'], $path, $file['name']);



//start AG FIX

if (move_uploaded_file($file['
tmp_name'], $path . $file['name']))
Return $file['
name']." successfully uploaded.";

// end AG FIX
//
/* had to comment this the next few lines as well, as they returnened null
// //start AG fix 2
// if(copy ($file['
tmp_name'], $path . $file['name']))
// {
// Files::delFile($file['
tmp_name']);
// Return $file['
name']." successfully uploaded.";
// }
// //END AG fix 2

*/

//no copy error
/*
if(!is_int($result))
{
Files::delFile($file['
tmp_name']);
Return $file['
name']." successfully uploaded.";
}
*/
//delete tmp files.
Files::delFile($file['
tmp_name']);
Return false;

}


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


Search for (options)