Etomite Community Forums: File manager save and edit - Etomite Community Forums

Jump to content


Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

File manager save and edit (and stop invalid chars in uploaded filenames) Rate Topic: ***** 2 Votes

#1 User is offline   Cris D. 

  • Loves Etomite Forums!
  • PipPipPipPip
  • Group: Member
  • Posts: 1,065
  • Joined: 10-August 06
  • Location:Brisbane, Queensland, Australia

Posted 28 October 2008 - 02:00 PM

This file solves the issues with invalid characters ' and " if added to a filename and uploaded to a server, which means that you then can't delete or interact with it.

This file also allows users to save and continue editing a file through the file manager.

Rename the old manager/actions/static/files.static.action.php and replace it with this file.

This should resolve the tracker issue 46
and the Wishlist item save and continue editing in the file manager.

Attached File  files.static.action.php (24.63K)
Number of downloads: 14
Attached File  etoFileManager.JPG (23.1K)
Number of downloads: 15

This post has been edited by Cris D.: 28 October 2008 - 02:06 PM


#2 User is offline   cathode 

  • Etomite Staff
  • Icon
  • Group: Staff
  • Posts: 648
  • Joined: 21-November 05
  • Location:Indiana, U.S.

Posted 28 October 2008 - 04:19 PM

View PostCris D., on Oct 28 2008, 10:00 AM, said:

This file solves the issues with invalid characters ' and " if added to a filename and uploaded to a server, which means that you then can't delete or interact with it.

This file also allows users to save and continue editing a file through the file manager.

Rename the old manager/actions/static/files.static.action.php and replace it with this file.

This should resolve the tracker issue 46
and the Wishlist item save and continue editing in the file manager.

Attachment files.st...c.action.php
Attachment etoFileManager.JPG


Nice- much needed...

#3 User is offline   Ralph 

  • Etomite Administrator
  • Icon
  • Group: Admin
  • Posts: 6,370
  • Joined: 01-July 04
  • Gender:Male
  • Location:Jamestown, NY USA
  • Interests:Computers, Camping, Hiking, Aviation

Posted 28 October 2008 - 08:27 PM

I'll do some testing and if all works as expected, which I'm relatively sure will be the case, I'll ad this into the v1.2 code base... Been meaning to get around to both issues... Thanks, Cris... B)

#4 User is offline   Cris D. 

  • Loves Etomite Forums!
  • PipPipPipPip
  • Group: Member
  • Posts: 1,065
  • Joined: 10-August 06
  • Location:Brisbane, Queensland, Australia

Posted 07 November 2008 - 01:43 PM

Updated this file again:
Changed the buttons from "Save and Edit" and "Save" to "Save" and "Save and Close" (more intuitive I think).
Also, added the alt and title tags so that hovering over the view, edit and delete icons return a contextual message ("View", "Edit", "Delete"). The difference between the transparent full colour images is quite hard to see in IE sometimes, and the hover is really needed to see which files can be interacted with.

Also, as I was working between browsers, I noticed that the "Export to HTML" link is no longer available in FF, but is in IE. Will add to bug tracker if this is confirmed.

Updated files.static.action.php here:Attached File  files.static.action.php (25.04K)
Number of downloads: 10

#5 User is offline   cathode 

  • Etomite Staff
  • Icon
  • Group: Staff
  • Posts: 648
  • Joined: 21-November 05
  • Location:Indiana, U.S.

Posted 07 November 2008 - 02:59 PM

View PostCris D., on Nov 7 2008, 08:43 AM, said:

Updated this file again:
Changed the buttons from "Save and Edit" and "Save" to "Save" and "Save and Close" (more intuitive I think).
Also, added the alt and title tags so that hovering over the view, edit and delete icons return a contextual message ("View", "Edit", "Delete"). The difference between the transparent full colour images is quite hard to see in IE sometimes, and the hover is really needed to see which files can be interacted with.

Also, as I was working between browsers, I noticed that the "Export to HTML" link is no longer available in FF, but is in IE. Will add to bug tracker if this is confirmed.

Updated files.static.action.php here:Attachment files.st...c.action.php


This just keeps getting better Cris :)

#6 User is offline   Cris D. 

  • Loves Etomite Forums!
  • PipPipPipPip
  • Group: Member
  • Posts: 1,065
  • Joined: 10-August 06
  • Location:Brisbane, Queensland, Australia

Posted 23 February 2009 - 11:57 AM

Note: this file has been updated again, but with the ability for the editor to reload back at the line where it was saved. At this thread.

Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users