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

Preview: DataObjectManager module


Go to End


379 Posts   95930 Views

Avatar
Fuzz10

Community Member, 791 Posts

3 March 2009 at 3:52am

great!
Thanks !

Avatar
UncleCheese

Forum Moderator, 4102 Posts

3 March 2009 at 9:06am

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.

Avatar
NickJacobs

Community Member, 148 Posts

3 March 2009 at 5:25pm

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?

Avatar
drye

Community Member, 49 Posts

3 March 2009 at 6:57pm

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?

Avatar
Carbon Crayon

Community Member, 598 Posts

3 March 2009 at 11:32pm

@ 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'.

Avatar
UncleCheese

Forum Moderator, 4102 Posts

4 March 2009 at 2:49am

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!! :)

Avatar
drye

Community Member, 49 Posts

4 March 2009 at 3:56am

Uncle Cheese, thanks for the response. I will start to integrate the ImageDataObjectManager soon. an example of the slideshow I am planning to include can be seen here: http://dev.rye-designs.com/photography/

How close is the ImageGallery support for this, and from my example do you expect I could achieve similar results with your ImageGallery? I do have a couple bugs to work out, so if your slideshow support is close, I would be interested in it.

Thanks again!

Avatar
Fuzz10

Community Member, 791 Posts

4 March 2009 at 4:04am

Cheese:

Just wanted to let you know the SimpleTreeDropdownField works like a charm !

Thanks again !

Go to Top