ExpressionEngine CMS
Open, Free, Amazing

Thread

This is an archived forum and the content is probably no longer relevant, but is provided here for posterity.

The active forums are here.

Storing 'Projects' and sub-directories containing files for each entry

August 28, 2011 11:24pm

Subscribe [2]
  • #1 / Aug 28, 2011 11:24pm

    ShawnCBerg

    79 posts

    Hi!

    I’ve got a bit of a dilemma. I can’t seem to find a great way to achieve one goal for a new client’s site. The website needs to have a ‘Project’ entry page that displays some basic project information along with organized files related to that project. For example, here’s what we’d have:

    Test Project
    - Sub-Directory #1
    —File #1
    —File #2
    —File #3
    - Sub-Directory #2
    —File #4
    —File #5
    ... etc

    The Sub-Directories will be different for each Project entry so we can’t simply have a File channel that utilizes categories because the categories would have to be the same for each Project for this to work.

    My next idea was to create a Sub-Directory channel that could relate to a Project entry and contain a Matrix field for the files stored in that sub-directory. This would actually work, but my biggest hold up here is that if there are a few sub-directories for different Projects that have the same name our client won’t be able to determine this from the ‘Edit’ page in the control panel. They’d simply see multiple entries titled the same and would have to click on each one individually to find the one that was for the Project they were looking for.

    Does anybody else have any ideas?!

  • #2 / Aug 29, 2011 12:31pm

    Noah Kuhn

    60 posts

    I haven’t used it yet, but based on the screencast I saw, I think that Assets from P&T might be able to help with this. Perhaps have a look?

  • #3 / Aug 29, 2011 12:46pm

    ShawnCBerg

    79 posts

    It comes pretty close, Noah. It doesn’t allow for specific sub-directories per entry, though. They mentioned that they may add that feature as I wasn’t the first to ask about it. We’ll see!

  • #4 / Aug 29, 2011 12:50pm

    Noah Kuhn

    60 posts

    In that case, what about Channel Files? I haven’t used it, but I have used Channel Images and that addon places files into sub-directories per entry. I think Channel Files is the same.

  • #5 / Aug 29, 2011 12:52pm

    ShawnCBerg

    79 posts

    Yup, same type of issue with Channel Files. It supports Categories for each file but the categories are managed at the custom field level, not per entry :(.

.(JavaScript must be enabled to view this email address)

ExpressionEngine News!

#eecms, #events, #releases