Jump to content


Photo

Calling File Manager in Front-End


  • Please log in to reply
6 replies to this topic

#1 Minddigger

Minddigger

    Etomite Forum Newbie

  • Member
  • 39 posts

Posted 26 January 2010 - 11:38 AM

Is it possible to call the back-end file manager in the front-end with all needed functionalities (browse,show and/or delete ?
What I need is a complete file browser like the Etomite file manager where authenticated users can browse documents and directories.
This because I have to create a Intranet site where documents in a directory structure must be shown.

Can this be done calling the back-end filemanager or do I have to write (or change) a snippet for it?
Users don't have to create new directories or upload files. just browsing through the directories, showing and download the documents will suit.

#2 Ralph

Ralph

    Loves Etomite Forums!

  • Admin
  • 6,539 posts

Posted 26 January 2010 - 02:05 PM

While I haven't looked recently, there should be at least one or two snippets in the Snippet Library that can be used to list the contents of system directories... Because the front end and back end use separate sessions it would be difficult to integrate back end modules into the front end... Etomite was not originally designed for this functionality and had front end authentication added in after the fact... If you can't find a snippet that suits your needs it probably wouldn't take much coding for you to write one that provides just the basics...

Keep us posted...

EDIT: Here are three that I saw while perusing the Snippet Library...

http://www.etomite.c...d-file-manager/
http://www.etomite.c...ctory-listings/
http://www.etomite.c...6-downloadfile/

#3 Minddigger

Minddigger

    Etomite Forum Newbie

  • Member
  • 39 posts

Posted 28 January 2010 - 07:19 AM

Thanks Ralph, I've seen those snippets (in the past already) but those only display documents in a given directory.:blush:
What I have is a map structure where those documents are , so I have to browse through the maps to see the documents.:blush:
This is the functionality wich is in the File Manager and wich I need in the Front-End. I don't see that in the available snippets. :blink:
Calling just the available files and display is one.... Calling and display the mapstructure and the ablility to browse trough it is another....
I think I have to make a new snippetcode for this and add those browse functions to it <_<......

#4 cathode

cathode

    Loves Etomite Forums!

  • Staff
  • 663 posts

Posted 28 January 2010 - 03:01 PM

I wonder if there is some specific open source software out there that does this? I'd be willing to bet there is... you could check SourceForge

#5 Minddigger

Minddigger

    Etomite Forum Newbie

  • Member
  • 39 posts

Posted 28 January 2010 - 03:26 PM

Yes there are some :

http://www.webinsta.com/fm.php

http://freshmeat.net.../trufilemanager

And maybe more, but it costs also time to integrate those in Etomite and the functionality is rather more than I want, so I still have to customize.
In that case it's faster to write a little snippet (I think) :rolleyes:
My only hope was I could use the File Manager of Etomite or functions of it as I also could use standard API functions, but that's not the case.:unsure:

#6 cathode

cathode

    Loves Etomite Forums!

  • Staff
  • 663 posts

Posted 28 January 2010 - 03:52 PM

Yes there are some :

http://www.webinsta.com/fm.php

http://freshmeat.net.../trufilemanager

And maybe more, but it costs also time to integrate those in Etomite and the functionality is rather more than I want, so I still have to customize.
In that case it's faster to write a little snippet (I think) :rolleyes:
My only hope was I could use the File Manager of Etomite or functions of it as I also could use standard API functions, but that's not the case.:unsure:


Yeah- I'd think you could somehow use the file manager... I have to admit when Ralph starts talking, the technical details cause me to blank out :)

#7 Cris D.

Cris D.

    Loves Etomite Forums!

  • Developers
  • PipPipPipPip
  • 1,104 posts

Posted 29 January 2010 - 10:51 AM

Yeah- I'd think you could somehow use the file manager... I have to admit when Ralph starts talking, the technical details cause me to blank out :)

Reply with FF3.6-looks like the inability to reply to posts has resolved itself, thanks for looking into that Ralph and Dean. As I was saying to mindigger, the file files.static.action.php file in manager/actions/static/ has all the necessary functions, code and links to images that will allow this functionality to be reproduced fairly easily.

Edited by Cris D., 29 January 2010 - 10:54 AM.





0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users