Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.

We've moved the forum!

Please use forum.silverstripe.org for any new questions (announcement).
The forum archive will stick around, but will be read only.

You can also use our Slack channel or StackOverflow to ask for help.
Check out our community overview for more options to contribute.

DataObjectManager Module /

Discuss the DataObjectManager module, and the related ImageGallery module.

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

New Features


Go to End


36 Posts   25296 Views

Avatar
Howard

Community Member, 215 Posts

10 September 2009 at 2:27pm

Edited: 10/09/2009 2:30pm

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]

Avatar
UncleCheese

Forum Moderator, 4102 Posts

11 September 2009 at 3:52am

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.

Avatar
UncleCheese

Forum Moderator, 4102 Posts

11 September 2009 at 4:14am

Avatar
UncleCheese

Forum Moderator, 4102 Posts

9 October 2009 at 4:23am

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.

Avatar
UncleCheese

Forum Moderator, 4102 Posts

31 October 2009 at 3:53pm

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.

Avatar
micahsheets

Community Member, 165 Posts

4 November 2009 at 6:48am

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.

Avatar
UncleCheese

Forum Moderator, 4102 Posts

4 November 2009 at 7:48am

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. :(

Avatar
UncleCheese

Forum Moderator, 4102 Posts

23 November 2009 at 4:39pm