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.
20 Posts 3519 Views
great job with the image gallery, found a small bug : turns out that when silverstripe is being run from a subfolder of document_root : replace $_SERVER['DOCUMENT_ROOT']
and you should be fine
Have you checked out the latest version? That looks like a really old bug to me.
The bugs I fixed myself in hasmanyfilemanager for SS 2.3 are:
Prevented jquery loading in CustomScriptInit.php - it still gets loaded later anyway, but it must be the order that was making things break. Changed all occurences of 'Field' to 'ImageField', including $Field in _config.php. I assume 2.3 has introduced a function or field called "Field" that was conflicting Changed some code to $form->saveInto($file), because I'm pretty sure it does the same thing
I've attached a patch.
Hi, not sure what to do with this diff file?? Is there a patched version of the module I can download??
Just make the changes specified in the diff file.
Also see the FileDataObjectManager, similar module, but with more features.
I applied the patch provided by Jeremy to trunk and created a new "release" 0.3.2 which is compatible with SilverStripe 2.3
@Jeremy: Thanks a lot for providing this patch!
Zipped sources can be downloaded on my Website:
... or you can check out via SVN
For SilverStripe 2.2:
svn co http://svn.silverstripe.com/open/modules/hasmanyfilemanager/branches/0.3.1/ <your-website-dir>/filemanager
For SilverStripe 2.3:
svn co http://svn.silverstripe.com/open/modules/hasmanyfilemanager/branches/0.3.2/ <your-website-dir>/filemanager
I'll update the documentation right now to reflect these changes.
thanks for the patch & zip
I've been following the thread on DataObjectManager and it looks great for what I need to do, but I can't find it anywhere to download.....(don't know how to get it through SVN)...sorry, lame, but new to linux stuff:)
Hi, how do I donwload it? Is prompts for login/password.. I'm new here, so forgive mi everything :)