5098 Posts in 1518 Topics by 1115 members
| Go to End | ||
| Author | Topic: | 2526 Views |
-
Re: Adding Drag & Drop functionality in Backend

19 November 2010 at 11:52pm
<= flushing red smiley
thank you!!!
-
Re: Adding Drag & Drop functionality in Backend

9 May 2013 at 10:49am
Hi,
I have set up a gallery page which uses uploadify and all is working fine or so I thought. I now want to add the ability to re-order the images in the gallery, ideally by dragging and dropping the files. The module page seems to suggest this is possible but I am not able to figure out how to get this up and running.
My Gallery Page looks something like this:
class GalleryImagesPage extends Page {
static $db = array(
);static $many_many = array(
'GalleryImage' => 'Image',
);function getCMSFields() {
$fields = parent::getCMSFields();
$fields->addFieldToTab('Root.Content.Gallery', new MultipleImageUploadField('GalleryImage', 'Image'));return $fields;
}}
class GalleryImagesPage_Controller extends Page_Controller {
}
I am using silverstripe 2.4.7
It seems all the links to the documentation for this module are returning 404s, so any help would be greatly appreciated.
Thanks
| 2526 Views | ||
| Go to Top |

