Jump to:

10930 Posts in 2613 Topics by 1810 members

All other Modules

SilverStripe Forums » All other Modules » HasManyFileManager

Discuss all other Modules here.

Moderators: martimiz, Sean, biapar, Willr, Ingo, swaiba, simon_w

Page: 1
Go to End
Author Topic: 837 Views
  • animasola
    Avatar
    Community Member
    121 Posts

    HasManyFileManager Link to this post

    I'm pretty much new to the hasmanyfilemanager module so I did all the instructions in the documentation and it worked quite well although I had to edit the template files for the module to include the navigation, header, footer and sidebar. Now I just have a question, does the module just show files attached to the page or does it also allow the viewers to download the files? Coz my page does nothing but show the files attached but no link is given. It just shows a list of images with their respective titles. Can anyone help?

    Here is a screenshot:

    Another problem which I face, on the admin side the file manager is pretty wacky. I can't manage my files well with this:

    Is there a patch to fix this or should I format it myself?

    Any piece of advice would be greatly appreciated, thanks!

  • UncleCheese
    Avatar
    4085 Posts

    Re: HasManyFileManager Link to this post

    This forum is for the DataObjectManager and its related modules. This should be posted in the "All Other Modules" forum.

    While you're here, I would check out the FileDataObjectManager, since it does the same thing as HasManyFileManager only with more features.

  • animasola
    Avatar
    Community Member
    121 Posts

    Re: HasManyFileManager Link to this post

    Oh ok, thanks. I guess I'll just replace the hasmanyfilemanager with the dataobjectmanager. Problem is, I can't find the module. I see the installation notes but can't find the link to download the module itself. I tried Google but nada, just the installation notes. Can anyone point me towards the module? thanks.

    EDIT:

    found it. Had to search for it manually in the modules page.

  • animasola
    Avatar
    Community Member
    121 Posts

    Re: HasManyFileManager Link to this post

    Hey UncleCheese, thanks for the advice earlier, I just have a few questions if you won't mind me asking. I installed the dataobject module including the swfupload and ran the dev/build. After which, I was assuming that a new page type would appear in the CMS admin but I saw nada. I tried to read the documentation and it all showed that we had to write code? Do we need to?

  • UncleCheese
    Avatar
    4085 Posts

    Re: HasManyFileManager Link to this post

    No. The DataObjectManager is not a page type. It just gives you a new CMS field.

    You can refer to the Code Examples sticky for some demos on how to use it. Works just like a CTF.

    Also, most users are using SVN. I don't update those ZIP files very often, so to be sure you're on the latest version, SVN works best.

  • animasola
    Avatar
    Community Member
    121 Posts

    Re: HasManyFileManager Link to this post

    Ok, I wouldn't wanna go that deep, I just need a simple file manager. Thanks for the help though UncleCheese.

    Can anyone assist me with my first problem?

  • UncleCheese
    Avatar
    4085 Posts

    Re: HasManyFileManager Link to this post

    Simple? It couldn't be simpler.
    new FileDataObjectManager(
    $this,
    'MyFileObjects',
    'MyFileObject',
    'MyFile',
    array('SomeField' => 'Some Heading')
    'getCMSFields_forPopup'
    );

    If you're not looking to write code, ou could pretty much just use the "ResourcePage" example line for line.

    Not telling you what to do or anything, but DataObjectManager is a very well-supported and well-tested module with its own support forum. If you're looking for something that is simple and works, I'd recommend giving it a shot. Most HasManyFileManager users moved over to FileDataObjectManager, and you may have a hard time getting support.

  • animasola
    Avatar
    Community Member
    121 Posts

    Re: HasManyFileManager Link to this post

    I'm relatively new to Silverstripe so I'm pretty much scared to write some code. I'll check out the documentation, thanks for all the help cheese. Cheers.

    837 Views
Page: 1
Go to Top

Want to know more about the company that brought you SilverStripe? Then check out SilverStripe.com

Comments on this website? Please give feedback.