Jump to:

7935 Posts in 1536 Topics by 943 members

DataObjectManager Module

SilverStripe Forums » DataObjectManager Module » I can't move my assets now?

Discuss the DataObjectManager module, and the related ImageGallery module.

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

Page: 1 2 3
Go to End
Author Topic: 3623 Views
  • pbolger
    Avatar
    Community Member
    22 Posts

    Re: I can't move my assets now? Link to this post

    Here's a screenshot:

    http://tigtech.net/image_edit.jpg

  • UncleCheese
    Avatar
    4085 Posts

    Re: I can't move my assets now? Link to this post

    Hmm... Have you made any customizations to the module? Are you using subclasses? The album dropdown is wrapped in the condition if($this->ImageGalleryPageID), so something is wrong with your ImageGalleryItem class not storing proper foreign keys.

  • pbolger
    Avatar
    Community Member
    22 Posts

    Re: I can't move my assets now? Link to this post

    No, no customisations. I had overrides in mysite for the two layout templates, but have moved them so they no longer affect the site. I'm using 2.3.2 and yesterday's SVN version.

    I notice that my popup has the label 'image' down below the caption dialogue, while yours - on http://doc.silverstripe.com/doku.php?id=modules:image_gallery - has the label 'Album'. I presume this is where the dropdown should appear.

    Naturally, I tried dragging and dropping images onto different Albums, but that didn't work. It's a slippery slope that Drag'n'drop: once you add it to one thing users expect it everywhere!

  • UncleCheese
    Avatar
    4085 Posts

    Re: I can't move my assets now? Link to this post

    Check your ImageGalleryItem table and make sure they're all getting a ImageGalleryPageID.

  • pbolger
    Avatar
    Community Member
    22 Posts

    Re: I can't move my assets now? Link to this post

    They all have the ID 24.

  • pbolger
    Avatar
    Community Member
    22 Posts

    Re: I can't move my assets now? Link to this post

    Fixed!

    I just upgraded the dataobjectmanager to the SVN version and it's working as it should.

    Now I'm going to try and get Supersized http://buildinternet.com/project/supersized/ to work with image gallery. Galleria http://devkick.com/lab/galleria/ would be nice too.

  • UncleCheese
    Avatar
    4085 Posts

    Re: I can't move my assets now? Link to this post

    Glad it's working. If you get a new UI working with ImageGallery, be sure to post your code so I can update the module to include it. Someone has already posted a way to get it to work with Galleria, so I'll be adding that in soon. Just be sure to undo any changes and update your SVN when I do add the change so you can continue to get updates without conflicts.

  • pbolger
    Avatar
    Community Member
    22 Posts

    Re: I can't move my assets now? Link to this post

    Galleria would be nice. I've had it kind of running on a static page, but it's a bit finicky - and the support forums were obliterated by spammers so not much help there. It is one of the nicest of the Jquery gallery displays that I've found so far.

    Regarding writing a new UI: Can it be achieved as an override, or do you need to edit the PHP files?

    3623 Views
Page: 1 2 3
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.