Home: htmlArea 3 (beta): htmlArea 2 & 3 archive (read only): htmlArea v3.0 - Add-Ons:
Insert File and File Manager



AlRashid
Novice

Jul 23, 2004, 9:11 PM


Views: 114339
Insert File and File Manager

Hi,

I've finished the new htmlarea3 version - as plugin.
http://alrashid.klokan.sk/insFile/htmlareademo/

What's new:
  1. Correct handling for filenames containing odd characters (lettres with accents, apostrophes and quotes as well)
  2. multiple folders/files select (use Ctrl & Shift) and operations for:
    • select&insert
    • delete
    • move
    • rename
    • open in new browser window
    • maybe copy
  3. possibility to resize dialog window to make the content fit into
  4. persistant sorting
  5. custom format of inserted link
  6. fixed bugs, but new ones have been introduced ;(


P.S.

I'm just leaving for looong vacation so no further development nor bug fixing during next six or seven weeks. If someone does feel he could make the plugin better, fix bugs, translate or just write a howto do not hesitate to do so. As far as I don't have much time right now, I would really appreciate if someone could help me with development. Probably creating and assigning the project on sourceforge.net would be a good starting point. Any volunteer?

Al


chet
User

Jul 24, 2004, 1:52 AM


Views: 114317
Re: [AlRashid] Insert File and File Manager

Thanks, works like a charm.

Have a great holiday :)


nikotto
User

Jul 26, 2004, 9:43 AM


Views: 114245
Re: [AlRashid] Insert File and File Manager

great, thx for that great plugin!!

only i would like to have a option to edit exitings files.... but this would be very hard to do i suppose if users change text...


chockster
New User

Jul 27, 2004, 11:28 AM


Views: 114222
Re: [AlRashid] Insert File and File Manager

I've found a bug- if the focus isn't on the htmlArea at the time, it'll insert the page link on the actual web page itself, rather than in the area- I'm guessing this can be fixed relatively easily by using Javascript focus() stuff, but I'm not experienced enough to go delving into the code myself!


pekka
Novice

Jul 27, 2004, 1:37 PM


Views: 114216
Re: [AlRashid] Insert File and File Manager

Thanks for this great extension. My goodness - installation took 10 minutes, and I'm gonna be loved for this new feature :)

One little thing though: The german language file is incomplete. It misses things like translations for "ok" and so on. Attached is a completed file with my translations.


sulleleven
Novice

Aug 6, 2004, 4:56 PM


Views: 114067
Re: [AlRashid] Insert File and File Manager

this is great plugin, thank you.



my bit of a problem is the link of the attached file is missing my path defined in config ($MY_URL_TO_OPEN_FILE), which is not my web root but a few subdirs in. If I set $MY_URL_TO_OPEN_FILE to my web root and then navigate to subdirs and attach file, it will work ok. But I dont want to give access to files other than in this special file dir.

anyone else have this problem? I will try to fix now.

thanks.


sulleleven
Novice

Aug 7, 2004, 11:03 PM


Views: 114039
Re: [sulleleven] Insert File and File Manager

despite fact i didnt review all the code in this plugin, and dont know why this would fail, i just edited the config file to prelude with my path


Code
   

$MY_LINK_FORMAT = '<span class="filelink"><img src="_editor_urlplugins/InsertFile/IF_ICON" alt="IF_URL" border="0">&nbsp;<a href="<<<my chosen dir>>>IF_URL">IF_CAPTION</a>;<span style="font-size:70%">IF_SIZE &nbsp;IF_DATE</span></span>&nbsp;';



(This post was edited by sulleleven on Aug 7, 2004, 11:05 PM)


DaveL
New User

Aug 10, 2004, 3:46 PM


Views: 113959
Re: [chockster] Insert File and File Manager

Edit "insert-file.js"

Underneath the line:

InsertFile.prototype.buttonPress = function(editor) {

Add:

editor.focusEditor();


sulleleven
Novice

Aug 16, 2004, 12:54 AM


Views: 113819
Re: [AlRashid] Insert File and File Manager

Hi, maybe someone can help.

I am playing around with this plugin, trying to get familiar with code so I can help extend it.

I am having a problem getting the value of a selected file's extension via javascript. I see various bits of code to check the file extension in files.php and there is a js function in insert_file.php for doing a check for file uploads, but I cannot seem to pass a correct value through javascript to get the selected file's extension.

i thought maybe this would suffice:


Code
 var ext = checkExtension(name); 



But it doesnt seem to work. I also tried fethching the value from php doing an echo of variable $ext re-using code in files.php and config.php.

Any suggestions?

thanks.



sull


sulleleven
Novice

Aug 19, 2004, 1:07 AM


Views: 113721
Re: [sulleleven] Insert File and File Manager

i helped myself.

nevermind.


cantyco
New User

Oct 8, 2004, 1:59 PM


Views: 113060
Re: [sulleleven] Insert File and File Manager

has anybody got the download, becuase the one thats on his site doesnt seem to be downloading.

Well it does but it's empty?

Thanks


sulleleven
Novice

Oct 9, 2004, 11:23 PM


Views: 113029
Re: [cantyco] Insert File and File Manager

are you referring to my version or Al's?
I don't have it ready for distribution yet, but Al's is still up here:
http://alrashid.klokan.sk/insFile/htmlareademo/


novocaine
Novice

Oct 10, 2004, 5:27 AM


Views: 113021
Re: [sulleleven] Insert File and File Manager

Hi sulleleven,

how are things developing with your MediaManager? Are you planning to release a preview or beta in the near future?

Thanks,
novocaine


sulleleven
Novice

Oct 10, 2004, 12:58 PM


Views: 113008
Re: [novocaine] Insert File and File Manager

slow but sure.
I am involved in multiple projects right now.


Ted S
New User

Oct 11, 2004, 5:16 PM


Views: 112974
Re: [sulleleven] Insert File and File Manager

Wow, this is a GREAT addon and took only a few seconds to add!

My only problem is when I insert a file with the tool it links to my base directory (www.mysite.com) and not the folder set in $MY_URL_TO_OPEN_FILE any ideas?


marco76tv
Novice

Feb 4, 2005, 12:49 AM


Views: 111338
Re: [AlRashid] Insert File and File Manager

IN ASP ?? THERE IS A STANDALONE IMAGE MANAGER UPLOAD?


thetoaster
New User

Feb 17, 2005, 12:25 PM


Views: 110931
Re: [Ted S] Insert File and File Manager

had this problem also...
I am also missing the possibility to turn on/off the insertion of file-size, file-date, ...

Will this be back?