Jump to:

7935 Posts in 1536 Topics by 943 members

DataObjectManager Module

SilverStripe Forums » DataObjectManager Module » Preview: DataObjectManager module

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 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 39 40 41 42 43 44 45 46 47 48
Go to End
Author Topic: 60043 Views
  • UncleCheese
    Avatar
    4085 Posts

    Re: Preview: DataObjectManager module Link to this post

    Thanks, Johnny!

    FYI, the scenario you're describing only happens with a HasMany or ManyMany ComplexTableField (or a DataObjectManager, for that matter). It's designed to give the user the ability to syndicate content to an unlimited number of areas on the site without having to duplicate anything. We use it all the time for sidebar items, for instance. On a given page, one can choose from the world of all sidebar content which ones will display.

    For most cases, though, a plain CTF or DOM does fine.

    But let us never speak of ComplexTableFields again!

  • NickJacobs
    Avatar
    Community Member
    144 Posts

    Re: Preview: DataObjectManager module Link to this post

    @aram, unclecheese
    yep, me too, I've found all sorts of uses for DataObjectManager, and it seems to find it's way into every project in some form or other. I'll certainly participate in the forum 'petition'

  • NickJacobs
    Avatar
    Community Member
    144 Posts

    Re: Preview: DataObjectManager module Link to this post

    @unclecheese - Hi, did you ever get to post your CustomSearchForm snippet?

  • UncleCheese
    Avatar
    4085 Posts

    Re: Preview: DataObjectManager module Link to this post

    Woo-hoo! Alright! Bring it on, guys!

  • UncleCheese
    Avatar
    4085 Posts

    Re: Preview: DataObjectManager module Link to this post

    That's right! I forgot to post that. I've put up the tutorial in this forum here:

    http://www.silverstripe.org/all-other-modules/show/259512#post259512

  • schellmax
    Avatar
    Community Member
    126 Posts

    Re: Preview: DataObjectManager module Link to this post

    email feedback from silverstripe staff arrived today, assuring the need for a very own dataobjectmanager forum will be raised in the next team meeting early next week.

    i'd also like to mention that as enhancement for complex table fields is a major issue for 2.3.4 (see http://open.silverstripe.org/ticket/3476), so dataobjectmanager might be the solution to this.

  • martimiz
    Avatar
    Forum Moderator
    1067 Posts

    Re: Preview: DataObjectManager module Link to this post

    @UncleCheese
    I encountered a little bug today: after searching on a phrase including double quotation marks, the searchbox doesn't function anymore. Clicking 'refresh' on the filter after that leads me to my site's homepage. Tested on multiple browsers. Might it be that $_REQUEST items are not properly sanitized? (I was thingking about the pagesize as well...)

  • Shawn Parr
    Avatar
    Community Member
    60 Posts

    Re: Preview: DataObjectManager module Link to this post

    Couple of questions for UC, or anyone else with experience:

    1. I have a page that uses the SimpleHTMLEditorField and am having issues with users who copy and paste in content. This issue also applies to the CMS, but the CMS has a 'paste as plain text' option. Is it possible to add this option to the SHEF. Or is there a way to create new DataObjects using a more standard CMS view rather than one of the popups?

    2. Is there a possibility that future versions of ImageDataObjectManager could support other image types than JPG out of the box. I saw a forum post with a fix, but I'd like to make as few changes to the core module as I can, so that on future updates I don't have to chase down all the fixes I did in previous versions. For the time on my custom page types I'm using the FileDataObjectManager as it is more than good enough for our current needs. Perhaps a nice way to do this would be to use setAllowedFileTypes, or can one already do that?

    I'd like to throw another big Thank You out to Uncle Cheese. The DOM and related modules make the end user experience using our sites thousands of times better than they could be. And the coding is pretty darn easy too. We took a very complicated Wordpress site with a ton of customizations, and no end user controls in the admin panel, and converted it to SS using DOM, and I, by myself, was able to do all the coding and templates in under 2 days, all while working on other projects as well. Just about everything is now controllable from the backend in some hacked together javascripts running on the site. Every time I figure out how to do something new in SS it usually floors the rest of the team I'm on, and it almost always involves something UC has made possible.

    60043 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 39 40 41 42 43 44 45 46 47 48
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.