I'm setting up a SS site just for evaluation purposes at the moment. I wanted to see how the DataObjectManager would integrate but I can't even seem to get it off the ground.
I have an out-of-the-box 2.3.1 installation.
I've been installing DataObjectManager according to this tutorial: http://doc.silverstripe.com/doku.php?id=modules:dataobjectmanager
I get as far as running /dev/build...
And then what? I open up the CMS and there's no change.
I imagine I'm looking to have created a new pagetype presumeably called 'Testimonials', according to the tutorial? Or did I mis-understand?
I've been trawling the forums for some basic "here's how you integrate any module" help, but can't really find anything that gets me any further.
I've installed DataObjectManager successsfully (as far as I can see anyway), and I've installed the swfupload module. I don't see anything in the tutorial about installing 'image gallerie'. Is there another module I need?
Just one thought; is it important what the directory name is?
When I unzipped the dataobject_manager .zip file, it gave me a folder called "modules-dataobject_manager-r148", so I retained that name. I then also tried renaming the folder "dataobject_manager" but it made no difference.
I now have all those modules installed and I have a page-type of "Image Gallery" that I can use. (It's not quite what I was after, but I'll work with it for a bit and see if I can get it to do what I want.)
However, on the photos tab, if I try to add an image to a gallery, I get this error:
Line 444 in D:\wamp\www\SilverStripe\sapphire\core\Requirements.php
Looks like you might have some misunderstandings about the DataObjectManager. It does not give you a new page type to create. It's will allow you to use a new form field called DataObjectManager in your Page classes. I'm not sure what you mean about the testimonials page. I had included that as an example, but it is by no means a core part of the module -- just something there for your reference.
Also, when installing dataobject_manager or swfupload, there is a text file in that tells you to drop the adjacent folder into your Silverstripe root. You shouldn't be using the top level folder because Silverstripe adds those "-r123" suffixes to the file.
Can you confirm that the file swfupload_vars.js is where it's supposed to be?