symfony-cmf / media-bundle

UNMAINTAINED - Minimalistic interfaces to handle media in the context of the CMF
http://cmf.symfony.com/
30 stars 40 forks source link

Sonata Admin? #61

Open dbu opened 11 years ago

dbu commented 11 years ago

should we add simple sonata admin classes for these documents? or do we point people to SonataMediaBundle?

i just notice that in the sonata admin tree, it would be nice to be able to click on the image and edit it. not sure if sonata media would always be the right thing or might provide too much to be always a good tool for this?

rmsint commented 11 years ago

Sorry, forgot to react. I think this is a good idea, we could keep the form basic and only implement the form fields. Ideally we could wait for the grouped admin we also would like to implement for the BlockBundle. Then there could be one admin list for all media types (image, file, media etc.) and fe. a popup to select the type when creating a new Media.

Maybe usefull is also a form field to select an image and relate it to another document. I think sonata admin uses by default an admin list for this, we could provide another option to browse using elFinder?

dbu commented 11 years ago

if we integrate with SonataMediaBundle, the documents would become editable as well, right? not sure if we need something in between or if we say if people use sonata, they just should use sonata media.

anyways, not a 1.0 topic for me.

rmsint commented 11 years ago

no, maybe even after 1.1. Most efficient is to look again at this topic when we have the SonataMediaBundle integration, then indeed the documents become editable.