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.
I have set-up a gallery using "getCMSFields_forPopup".
For sorting I'm using a integer text-field called "position", but this is not very comfortable to maintain.
Is it possible to let the admin sort the pictures using drag&drop?
Thank you lerni.
Unfortunately this doesn't work. I read that "SortableDataObject" is not usable for the backend.
"The sorting takes place not in the CMS, but rather on the front end for logged in administrators."
Or didn't I get this right?
whith DOM it certainly is usable in the backend - never used it in the frontend. just add the option in your _config.php
do a .../dev/build, log back in to to backend and your done!
Well, I can see the "Allow drag & drop reordering" checkbox, but it doesn't change a thing when being checked.
Additionally the list is not a table anymore (I changed the object from ComplexTableField to DataObjectManager).
Plus the backend assets Management now claims "Error: DataObjectManager requires the Uploadify or SWFUpload modules.", after putting "modules-dataobject_manager-r511" into the root-dir.
I'm too dumb obviously... :(
Thank you learni! This was the right hint! The directory-name was wrong. Drag-&-Drop-sorting now works like a charme.
Unfortunately I still get the "Error: DataObjectManager requires the Uploadify or SWFUpload modules." when choosing the assets-management "Files & Images". Do you have an idea?
it basically means what it says - you have to upload/install Uploadify or SWFUpload ;-)
newer versions of DOM work with Uploadify older with SWFUpload.
if you wana turn-off DOM for assets you can add the following to your _config.php