Jump to:

7939 Posts in 1472 Topics by 944 members

DataObjectManager Module

SilverStripe Forums » DataObjectManager Module » Feature Requests

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 6 7 8 9 10
Go to End
Author Topic: 12619 Views
  • ImacSS
    Avatar
    Community Member
    35 Posts

    Re: Feature Requests Link to this post

    First, I want to thank you for a fantastic module. Including this module pretty much has saved my bacon on this current project.

    One feature I would definately second (...third?) is to include the ability to manage times along with dates in a single field.

    I was using the 'SSDatetime' field in a class and leveraging the 'PopupDateTimeField' form field to populate them. However, this does not appear to be compatible with the latest stable release of DataObjectManager (R333).

    Thanks again Uncle Cheese, on a great addition to SilverStripe!

  • Andrew Houle
    Avatar
    Community Member
    132 Posts

    Re: Feature Requests Link to this post

    Hey UC. I was hoping you could add this simple function into ImageGalleryPage in the next rev...

    public function MultipleAlbums()
       {
          if($this->Albums()->Count() > 1) {
             return true;
          }
          return false;
       }

    I needed a function that checked for multiple albums so I could leave the style off the album page navigation if there was only one.

    Thanks in advance,
    Andy

  • Andrew Houle
    Avatar
    Community Member
    132 Posts

    Re: Feature Requests Link to this post

    If this is already possible, I'm sorry I missed it, but here is my issue/feature request. I have added the 'Duplicate' permission to a dataobject, then I want to use the setPermissions function to arrange the permissions. Because by default the 'Duplicate' permissions shows up first and is therefore the default when an object is clicked. I'd like the 'Edit' functionality to come up when a object is clicked. I've tried this code...

    $MyDO->addPermission("duplicate");
    $MyDO->setPermissions(array('add','edit','duplicate','delete'));

    Any ideas how I could force the 'duplicate' permission after 'edit'?

    Thanks in advance.

  • UncleCheese
    Avatar
    4085 Posts

    Re: Feature Requests Link to this post

    Yeah, it's kind of annoying that some of the actions go through the DataObjectManager_Action object and others don't. I'm going to work on this now and I'll post back when I have something to test.

  • MarijnKampf
    Avatar
    Community Member
    161 Posts

    Re: Feature Requests Link to this post

    Great module UncleCheese!

    I've got one feature / usability improvement request. When there are more items in the popup the Save button disappears from view (see image on left side). I've noticed a couple of users clicking on the close button thinking they saved the item. Is it possible to move the save / next / ... buttons to the footer?

    See image on right hand side for proposed position of button.

    Thanks.

  • UncleCheese
    Avatar
    4085 Posts

    Re: Feature Requests Link to this post

    Make sure you're on the latest version. That update was made a long time ago.

  • Andrew Houle
    Avatar
    Community Member
    132 Posts

    Re: Feature Requests Link to this post

    I was hoping you could add the ability to add 'Spellchecker' (much like the paste options) to the TinyMCE WYSIWYG in the DOM.

    Thanks in advance,
    Andy

  • timwjohn
    Avatar
    Community Member
    98 Posts

    Re: Feature Requests Link to this post

    Hi Uncle Cheese,

    I'm really loving the DOM classes. They are the future.

    I would like more control over the pagination and page size controls. Firstly, could you bind setPageSize() and setPerPageMap(), so that the pageSize is reflected in PerPageDropdown, and inserted in per_page_map if the value doesn't already exist. Currently they seem to work independently, so setPageSize() overrides the PerPageDropdown.

    Also, could you make it so that setting setPerPageMap to an empty array and setUseViewAll to false will hide PerPageDropdown, and just use the default or set pageSize. Might as well, as the currently you just get an empty PerPageDropdown.

    Finally, could you make use of setShowPagination? It would be great if setting setShowPagination to false would remove pagination controls and PerPageDropdown, automatically setting pageSize to 'All' (9999).

    I like how DOM is getting more and more customisable, as is SilverStripe - and I think these features would enhance this further.

    Thanks UC!

    P.S. I second the 'select all' request too.

    P.P.S. I'm currently using the 2.3 branch with SS 2.4 Beta 2 due to the 'missing argument 3' error I was getting with ModelAdmin.

    12619 Views
Page: 1 2 3 4 5 6 7 8 9 10
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.