简体   繁体   中英

Is there a multiple upload reference widget for dexterity (quickupload widget for dexterity content type)

I'm working on a dexterity content type that should be able to support multiple upload of images. What I want is to be able to use something like one of the collective.plonefinder referencewidgets .

I've looked at the examples documented for collective.plonefinder but their widgets only seem to be archetypes compatible.

I also looked at collective.quickupload (which provides the upload ability to collective.plonefinder ), while I can create a behaviour which marks a dexterity content type as IQuickUploadCapable , I can't add a quickupload widget to a dexterity content type.

本周我遇到了https://github.com/plone/plone.formwidget.multifile ,从未使用它,但是当我读到你的问题时我不得不想到它,也许值得一试......

I'm pretty sure that https://github.com/collective/collective.upload is targeting this use-case, although I am not 100% sure there's a well-documented example of how to use it as a widget. Héctor Velarde may have some answers here.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM