Jump to:

7940 Posts in 1543 Topics by 946 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: 61500 Views
  • UncleCheese
    Avatar
    4085 Posts

    Re: Preview: DataObjectManager module Link to this post

    Now that I take a closer look, that is the wrong form action. It should be admin/EditForm/field/Article/AddForm?ctf....

    Hmm....

  • dynamite
    Avatar
    Community Member
    66 Posts

    Re: Preview: DataObjectManager module Link to this post

    Thanks for the wonderful module!

    I am relative noob to SilverStripe (but not PHP and object oriented coding), and was wondering if anyone would like to share some tips and/or code on utilizing the DataObjectManager into the front-end templates? I would like to create a gallery, organized by category, and I have it all working from the CMS, but am pretty directionless for the next step.

    Thanks in advance!

  • Howard
    Avatar
    Community Member
    215 Posts

    Re: Preview: DataObjectManager module Link to this post

    Hi Dyamite, you would probably be best starting with the Image Gallery module UncleCheese has written to go on top of the DataObjectManager module.

    Thread: http://www.silverstripe.org/all-other-modules/show/250910
    Module: http://www.silverstripe.org/imagegallery-module/

  • dynamite
    Avatar
    Community Member
    66 Posts

    Re: Preview: DataObjectManager module Link to this post

    Perfect, that does help! Also, in case anyone else is looking for basic info on images in templates/resizing, I also found the following link very helpful as well: http://doc.silverstripe.com/doku.php?id=imageupload

  • cmswarrior
    Avatar
    Community Member
    13 Posts

    Re: Preview: DataObjectManager module Link to this post

    Hey Guys,

    I was hoping someone could help me figure out the little problem i have with the DataObjectManager Module.

    The problem is this: whenever i use the DataObjectManager, it displays the data but without any styling( css and js) in browser. I installed it following the instructions in the doc. Am using a Mac OS X 10.5. Tested it with ff3 and safari and still get the same result.

    Pls check out the attached image.

    Any tips will be definitely appreciated.

    Great Work Uncle Cheese!.

    Attached Files
  • UncleCheese
    Avatar
    4085 Posts

    Re: Preview: DataObjectManager module Link to this post

    Try changing line 54 of DataObjectManager.php

          Requirements::css('dataobject_manager/css/dataobject_manager.css');

    Maybe you've got some funky pathing going on? One thing you could try:

          Requirements::css(Director::absoluteURL('dataobject_manager/css/dataobject_manager.css'));

  • Howard
    Avatar
    Community Member
    215 Posts

    Re: Preview: DataObjectManager module Link to this post

    Hi UncleCheese,

    I had a bit of a problem tonight when showing the client the site - in all of the popups a generic "page cannot be found" page was shown (see attached). They were using IE7 on Vista, another two people also using IE7 got the same error however it works for me in FF, Safari and even when I tested in IE7. What do you think could be causing the error? I am meant to be meeting again with them tomorrow night so I am hoping to work it out tomorrow - any nudges in the right direction/patches would be awesome

    Thanks

    Attached Files
  • cmswarrior
    Avatar
    Community Member
    13 Posts

    Re: Preview: DataObjectManager module Link to this post

    Hey UncleCheese,

    Thanks! for a point in a right direction, the problem was the name of the module folder. Once i renamed it to dataobject_manager, it now displays as it should. Silly error on my path.

    Two new issues have raised there ugly heads; one with ManyManyDataObjectManager and the other is a general CTF question.

    Whenever i use the ManyManyDataObjectManager, it does not display the title of the object, but instead it shows "#1"(which is the id of the object). But when i use ManyManyCTF it displays the title as it should.

    The other question is; how can i limit the objects shown to only the objects associated with the page, currently it shows everything then adds a check mark to the object if it is associated with the page. Can't use filter cause the field am trying to filter is in the bridge table. I am guessing i will have to use a join clause, but still not sure of how to go about it.

    This questions are open to anyone who can help!

    Thanks!

    61500 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.