Commenting out one of the DOMs doesn't change anything... I can still drag/drop the ImageDOM, but not the remaining DOM.
We've moved the forum!
Please use forum.silverstripe.org for any new questions
(announcement).
The forum archive will stick around, but will be read only.
You can also use our Slack channel
or StackOverflow to ask for help.
Check out our community overview for more options to contribute.
DataObjectManager Module /
Discuss the DataObjectManager module, and the related ImageGallery module.
Moderators: martimiz, UncleCheese, Sean, Ed, biapar, Willr, Ingo, swaiba
attn uncle cheese - dataObjectManager bug?
- Previous 10 entries
- 1
- 2
- 3
- Page 44(current)
But in my Product Page , I don't see other DOM...
Using DOM ( $my_imagetable = new DataObjectManager ) the problem is the same...
http://localhost/ss/admin/EditForm/field/ImageAttachments/add give error 404 - not found with reason from SS: I can't handle sub-URLs of a CMSMain object.
I found a post with the same problem:
http://www.silverstripe.org/dataobjectmanager-module-forum/show/261743?showPost=264378
But I don't understand how resolve the problem...
NB: the problem is present only if multilanguage site is enabled ( v.2.3.2 )
Uncle Cheese have you been able to replicate my problem (not being able to drag/drop when ImageDOM + DOM + DOM are present on one page)
Did you use translatable? I had the same problem when my cms had translatable enabled in 2.3.3 (but not the dataobject in my case...)
The locale param wasn't sent by DOM, so i only could work with dataobjects / DOM in my default locale.
Made a patch for that, see http://open.silverstripe.org/ticket/4492 which is based on http://open.silverstripe.org/ticket/4435
you'll need both patches!
hope that helps ;)
Am offline this week. I'll have a look next week! Thanks for input!
Sorry, had a clearer look at your comment, but I'm not using translatable, so I don't these patches would help. Recap:
1 ImageDOM and 2 DOM's in one class. All three DOMs are sortable:
SortableDataObject::add_sortable_classes(array('Characteristic','Reference','Photo'));
Problem: DOMs are not sortable, ImageDOM is sortable. Only after I completely remove the ImageDOM, the other DOMs are sortable again.
Hope you can have a look at this once more, many thanks in advance!!!
Please send me a ZIP of the Page class, and the three dataobjects it is managing. I'd like to get this figured out once and for all. Email it to me at aaroncarlino at gee mail.
- Previous 10 entries
- 1
- 2
- 3
- Page 44(current)