Jump to:

7921 Posts in 1359 Topics by 933 members

DataObjectManager Module

SilverStripe Forums » DataObjectManager Module » Preview: DataObjectManager module

Discuss the DataObjectManager module, and the related ImageGallery module.

Moderators: martimiz, UncleCheese, Howard, Sean, Ryan M., biapar, Willr, Ingo, swaiba, simon_w

Go to End
Author Topic: 54680 Views
  • Fuzz10
    Avatar
    Community Member
    783 Posts

    Re: Preview: DataObjectManager module Link to this post

    @Cheese :

    I know this is an old problem and doesn't have anything to do with your code, but did you by any chance figure out a way to integrate a TreeDropDownField in the Complex-Table_Field or DB object Manager 'popup' ?

    I can't seem to get it to work.

    Any other way of selecting a page from the site-tree is of course also welcome.... ;-)

    Also See :
    http://www.silverstripe.org/archive/show/20229

  • UncleCheese
    Avatar
    4085 Posts

    Re: Preview: DataObjectManager module Link to this post

    I do have a solution for that called SimpleTreeDropdownField. I thought I bundled it with the code, but it looks like I overlooked it. I'll add it in as soon as I can.

  • Fuzz10
    Avatar
    Community Member
    783 Posts

    Re: Preview: DataObjectManager module Link to this post

    great!
    Thanks !

  • UncleCheese
    Avatar
    4085 Posts

    Re: Preview: DataObjectManager module Link to this post

    SimpleTreeDropdownField is now bundled with the dataobject_manager module. Works like this:

    new SimpleTreeDropdownField('RelationshipID', 'Title', 'ClassName');

    The third argument, $sourceClass, defaults to "SiteTree", so to get a hierarchical dropdown of your site, just do SimpleDropdownField('Name','Title');

    For a list of your assets structure, you could do:

    SimpleTreeDropdownField('FolderID','Choose a folder','Folder');

    I'll add "indentCharacter" as the next argument. Right now it's just two spaces. Seems good enough. Also, seems like it could use a filter and order clause.

    Anyway, let me know how that gets you started.

  • NickJacobs
    Avatar
    Community Member
    144 Posts

    Re: Preview: DataObjectManager module Link to this post

    Hi, I'm trying to download the module using tortoisesvn, but it keeps asking for a user/password.....can I use tortoise to get these files?

  • drye
    Avatar
    Community Member
    49 Posts

    Re: Preview: DataObjectManager module Link to this post

    UncleCheese, nice work. I've watched your videos and things are looking great. I myself am interested in an ImageDataObjectManager. I do not need the image gallery, but do need the data object manager (with the image preview and what not). The reason I do not need the image gallery portion is I plan to use the images in a slideshow page type that I have created. Currently I have used he CTF for my data management, but it is not sufficient (as you know). I am curious if waiting to see what ModelAdmin brings to the mix. Anyway, you seem very active, and I look forward to working with your modules. Also, how are the doc pages coming?

  • Aram
    Avatar
    Community Member
    598 Posts

    Re: Preview: DataObjectManager module Link to this post

    @ Tsunami: Go to the folder you want to download them to, then right click in space and go to tortioseSVN > Repo-browser then put the URL provided in and you should be presented with the folders online. You can then select what you want to download and choose 'checkout'.

  • UncleCheese
    Avatar
    4085 Posts

    Re: Preview: DataObjectManager module Link to this post

    Thanks, Aram,

    And just for clarity, the repo is at http://carlinowebdesign.svn.beanstalkapp.com/modules/trunk/dataobject_manager

    @drye: The ImageDataObjectManager should be just what you need. I built it for exactly that purpose -- Images management without a specific UI for the frontend (although, slideshows are coming soon to ImageGallery). Anyway, give ImageDataObjectManager a try.

    As far as docs, every day, I say, this is the day I'll write the documentation... but it never happens. So... today!!

    54680 Views
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.