Jump to:

7913 Posts in 1355 Topics by 930 members

DataObjectManager Module

SilverStripe Forums » DataObjectManager Module » Bug Reports

Discuss the DataObjectManager module, and the related ImageGallery module.

Moderators: martimiz, UncleCheese, Howard, Sean, Ryan M., biapar, Willr, Ingo, swaiba, simon_w

Page: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38
Go to End
Author Topic: 37705 Views
  • UncleCheese
    Avatar
    4085 Posts

    Re: Bug Reports Link to this post

    Yeah, that's right. I excluded png because at the time Silverstripe couldn't resample PNG in its GD class. I'll update the code to allow PNG. For now, just add it to the $limitFileTypes array in ImageDOM.

  • dospuntocero
    Avatar
    Community Member
    54 Posts

    Re: Bug Reports Link to this post

    thanks!
    by the way, it seems that silverstripe now can resample pngs correctly.. i have modified your class some moments ago and with pngs works, but not with transparent gifs (transparency renders black) and both are correctly resized

  • keeny
    Avatar
    Community Member
    48 Posts

    Re: Bug Reports Link to this post

    Hi all,

    I'm having an issue where if I upload an image in 'Files & Images' to a subfolder, the files go straight into the root of the assets folder and not into the folder I want them to.

    Any ideas?

    Cheers,

    Barry.

  • UncleCheese
    Avatar
    4085 Posts

    Re: Bug Reports Link to this post

    Hmm.. new to me. I'll do some testing.

  • MarcusDalgren
    Avatar
    Community Member
    287 Posts

    Re: Bug Reports Link to this post

    Hello.

    I was setting up and testing a DataObjectManager today and noticed an inconsistency.
    When I set up a HasOneDataObjectManager with only the allowed action of show the plural title is not put in an h3-tag.

    If use the base DataObjectManager it ends up in an h3-tag inside the dataobjectmanager-actions-div.

    My code looks like this

    $blogCategoryManager = new HasOneDataObjectManager(
    $this,
    "BlogHolder",
    "BlogHolder",
    array('Title' => 'Bloggkategori')
    );
    $blogCategoryManager->setPermissions(array("show"));
    $blogCategoryManager->setPluralTitle('Bloggkategorier');

    Everything still works so it isn't anything critical but getting that h3-tag in there would make it look alot nicer.

  • MarcusDalgren
    Avatar
    Community Member
    287 Posts

    Re: Bug Reports Link to this post

    Hey it's me again.

    I just wanted to report that the HasOneDataObjectManager doesn't work as a nested dataobjectmanager. When using the normal DataObjectManager everything works but when I switch to one of the specialised DataObjectManagers like the HasOne the nested popup doesn't work. Instead the fields for the dataobject opens in the same popup and when I press close everything gets closed.

    I would really need to get this fixed pretty quickly and I'm willing to pay for it if you have a busy schedule or just want som extra money ;P. Just let me know how much you want for it and we can work something out.

  • UncleCheese
    Avatar
    4085 Posts

    Re: Bug Reports Link to this post

    NestedDOM is still fairly immature and I haven't tested it with RelationDOMs yet. If you need it quickly, you're going to have to commission the work. Please contact me through my web site http://www.carlinowebdesign.com and we can discuss it through email. Thanks.

  • MarcusDalgren
    Avatar
    Community Member
    287 Posts

    Re: Bug Reports Link to this post

    Sent you a message through your website. Thanks.

    37705 Views
Page: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38
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.