7911 Posts in 1354 Topics by 930 members
Page: 1 2
|Go to End||Next >|
14 May 2009 at 10:15pm
SilverStripe newby. Please be patient.
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.
Can you advise?
14 May 2009 at 10:30pm
there is an small error in this tutorial..
look at the comments at the end of the page.
after installing dataobjectmanager + image gallerie, you should have pagetype for image gallerie, where you have new nice tabs to upload photos etc..
when you installed correctly the Testimonials, then you should have new pagetype to create in CMS, there you can manage files for this page in the Tab.
THEN, you maybe could extend the Testimonials, so that this function will be on Every page.
15 May 2009 at 12:49am
Sorry, I still don't get it.
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?
15 May 2009 at 12:52am
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.
Is any of this important?
15 May 2009 at 1:16am
if you dont have installed this module, you should install it, its great!
(this module is not needed that dataobjectmanager runs!)
foldernames of the modules in root directory MUST be:
YES, it is important!
15 May 2009 at 2:35am
Okay, I'm getting somewhere.
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
Any ideas what's missing?
15 May 2009 at 4:34am
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?
15 May 2009 at 8:08pm
i had the same error.. but i dont know what i have done. are you sure, you remove the .txt from ALL files in the swfupload folder?
Page: 1 2
|Go to Top||Next >|