This project is read-only.

Two Media Picker Fields attached to ContentItem

Topics: General
May 3, 2012 at 8:06 AM

I have some ContentType with my ContentPart and a MediaPickerField attached to the last one. When the ContentType is rendering in Editor mode two fields are rendering one by one. This occurs in any way of attaching (Migration file, Recipe or from Dashboard). How can I display only one field? 

May 3, 2012 at 9:38 AM

It sounds like there are actually two MediaPicker fields attached. Perhaps you attached one to the ContentType (or rather, its implicitly created content part of the same name as the content type) and another to the ContentPart itself? If so, you should be able to see this in the Edit ContentType screen and the Edit ContentPart screen.

May 3, 2012 at 9:56 AM

Thanks you for answer.

I've attached a MediaPickerField only to the Part. But the problem is solved: the cause of this is my ContentHandler added an ActivatingFilter for the Part. I've removed it and this works well now.