#1831 FC_Image_Manager->setModule() disappeared

N/A-1
closed-fixed
5
2008-04-28
2008-04-10
Eloi George
No

I'm not sure if this is a bug or a feature request. It looks like the ability to just allow access to Folders created/belonging to a specific module disappeared in the recent recoding of FileCabinet.

Please bring it back -- it's really needed to help enforce organization of FileCabinet folders.

Also, if you create a folder from the File Manager Dialog instatiated from a module, it doesn't fill out the "module_created" column. It would be nice if there was also a dropdown on the Edit Folder Dialog to select/change module_created as well.

Have a great day!

Discussion

  • Anonymous - 2008-04-28

    Logged In: YES
    user_id=400519
    Originator: NO

    This will return in the next release. The function is moduleLimit(). Here is an example from Blog:

    $manager = Cabinet::fileManager('image_id', $blog->image_id);
    $manager->maxImageWidth(PHPWS_Settings::get('blog', 'max_width'));
    $manager->maxImageHeight(PHPWS_Settings::get('blog', 'max_height'));

    $manager->moduleLimit(PHPWS_Settings::get('blog', 'mod_folders_only'));

     
  • Anonymous - 2008-04-28
    • assigned_to: nobody --> stardog
    • status: open --> closed-fixed
     

Log in to post a comment.