Jump to:

7935 Posts in 1536 Topics by 943 members

DataObjectManager Module

SilverStripe Forums » DataObjectManager Module » New Features

Discuss the DataObjectManager module, and the related ImageGallery module.

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

Page: 1 2 3 4 5
Go to End
Author Topic: 12527 Views
  • Howard
    Avatar
    Community Member
    215 Posts

    Re: New Features Link to this post

    Hi UncleCheese,

    Just had a client request that the jquery date picker in the CalendarWidget have different colours for days with event on them. I realise that this is actually quite a tricky thing todo, and that it had been requested on the first page of the original calendar thread - just wondering if this is something on your radar? Or if you have any suggestions of another approach that I could take?

    Thanks for everything

    [EDIT - I just realised that I put this in the wrong thread (meant to be feature requests) sorry to subscribers and UncleCheese]

  • UncleCheese
    Avatar
    4085 Posts

    Re: New Features Link to this post

    Yup. That was released a while ago in the EventCalendar module. You can use LiveCalendarWidget, an AJAX-based, event-aware calendar that is fully skinnable and translatable.

    I forget where I posted it, but if you search on LiveCalendarWidget in the forum, I'm sure you'll see something come up.

  • UncleCheese
    Avatar
    4085 Posts

    Re: New Features Link to this post

  • UncleCheese
    Avatar
    4085 Posts

    Re: New Features Link to this post

    Just checked in:

    Support for "view" permissions

    If no edit privileges are available, the DOM will look for the "view" privilege, which will allow the user to view the record in an uneditable state.

    "Select All" import

    By popular demand. Not sure why this wasn't in the core from the beginning. Thanks for your patience.

    Popup pagination

    Advance to the next/previous record when in edit/view mode.

  • UncleCheese
    Avatar
    4085 Posts

    Re: New Features Link to this post

    New Stuff Sponsored by Supporting Users:

    "Duplicate" Feature

    You can now duplicate any record in your DOM using the "duplicate" permission. You can specify of how many copies you want to make, and tick a checkbox to include related objects in the duplication (great for nested DOMs). Please note that the duplicate feature is an "opt-in" permission. It is not on by default. You can add it easily using:

    $myDOM->addPermission("duplicate");

    Special thanks to Marcus Dalgren for commissioning this addition to the DOM that we can all enjoy!

    Copy Files on Import

    Mostly a benefit to the ImageGallery module, imported files are now copied from their original locations rather than moved. If you have a custom upload folder set, as is the case with ImageGalleryManager, this is useful because it doesn't remove the file from its original spot when you import it. This also comes in handy in the AssetAdmin section if you want to bring files from one folder into another.

    Special thanks to Joel Grøndrup (joelg) for commissioning this patch.

    Thanks to everyone for your continued support and enthusiasm about the DOM project.

  • micahsheets
    Avatar
    Community Member
    164 Posts

    Re: New Features Link to this post

    Aaron,

    Just a couple of thoughts.

    When I am going through and editing a bunch of things in DOM I like to use the prev and next buttons that you have in the popup, but the issue I run into with this is that the DataObjectSet that is being paged through is respecting the pagelength of the initial display. So initially I go to the DOM and I see 10 images, I open the first one and edit the caption and save. then I scroll down and click the next button and the next one comes up so I can edit it's caption as well. The problem comes in when I get to the 10th image. It does not have a next button even though the Album has 27 images in it. If I manually open the 11th image and edit it's caption and then press the next button on it I just get the 1st image in the album instead of the 12th.

    Also it would be nice to have the prev and next buttons also near the top of the popup because when you save the current one it reloads the popup with the save confirmation and then I have to scroll back to the bottom to click the next button.

    These issues are minor and I am just bringing this to your attention in case you think these things are worth looking into as part of your normal updating of the DOM.

  • UncleCheese
    Avatar
    4085 Posts

    Re: New Features Link to this post

    Yeah, I'm well aware of the defect. There's no easy way to get those buttons to talk to the CTF, so I'm going to remove them for now. If you look in ComplexTableField.php you'll see SS also tried and failed.

  • UncleCheese
    Avatar
    4085 Posts
    12527 Views
Page: 1 2 3 4 5
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.