shuizhongyueming / flexicontent

Automatically exported from code.google.com/p/flexicontent
0 stars 0 forks source link

Allow subfolders in the file manager #308

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
Current file manager only supports 2 folders secure and media.

We have 2 solutions:
-- either modify file manager by adding an extra file field called "sub-folder"
-- or since we already have the "directory" file field to make media and secure 
folders able to have sub-folders, and at the same time allow the creation of 
sub-folders.

But this will require planing and coding and probably updating of the plugins???

Original issue reported on code.google.com by ggp...@gmail.com on 15 Dec 2011 at 3:03

GoogleCodeExporter commented 9 years ago

Since you brought it up . . .  ;-)
This is another of those directory-related issues (as we discussed).
Warning: another wild and woolly brainstorming ideas dump follows.

In dedicated directory applications there is an ability to upload files by item 
or entry.
Some examples:
- upload gallery images related to an item and store those images in an 
item-gallery directory 
- upload download files related to an item and store those images in an 
item-downloads directory 
- upload media files related to an item and store those images in an item-media 
directory 
These by-item folders work for directories of all sorts - businesses, clubs, 
etc.
A business can upload images of their business and those images are stored in a 
directory for that item.

This per-item media management is also appropriate in an intranet environment.
Employee or personnel directories would be an example.
An employee could upload files, images, media to use on their own item page.

There are two main options:
- by item
- by user

Most directory applications store media by item (or entry)
In some application developers will want to store media by-user.
In this case a user could be affiliated with multiple items.
That user wish comes up regularly.

Another common request in the forums is the ability to share some files.
For example in an intranet some files would be group files which all users can 
access,
and some files are private and accessible only by the uploader.

Users also request the ability to share files with customers or clients.
Upload and download files with ACL control of access.

The ability to upload media files by-item would also be useful to anyone 
creating an audio or video directory.
An "owner" of an item would have access to only their own videos or MP3s, etc. 
for embedding in the item.

This is another of those brainstorming discussions I think would be appropriate 
for the developers discussion forum I suggested.
Hard to brainstorm the ideas, pros & cons, get others' input, etc. in this 
tracker.

Original comment by kenmcd2...@gmail.com on 16 Dec 2011 at 4:15

GoogleCodeExporter commented 9 years ago
kenmcd , i have just finished exactly this thing:
-- a per item  media folder
OR
-- a per item + field  media folder

This is done by modifying  fully fledged media manager Joomla plugin the 
smallfib.
I have modified it so that you can run it:
1. in a popup window
2. runs in both frontend / backend
3. Allow to graphically select files (images) to add to a field, showing files 
already added

-- Also this file manager has very nice features, ACL, zip file upload , etc,

But it will take time before i make a new plugin out of this one.

Original comment by ggp...@gmail.com on 16 Dec 2011 at 4:00

GoogleCodeExporter commented 9 years ago
Ok, we have already examined various alternative to this,

1. copying com_media component and modifying it (to complex abandonded)
2. modifying a powerful joomla file-manager plugin (as said above this is 
implemented but not sure to included this hacked code with FC)
3. adding folder listing TEMPLATE in FLEXIcontent fileelement view (selects 
images), this is what will be done, probably ...

Original comment by ggp...@gmail.com on 24 May 2012 at 3:12