Hi Jan, hi Leo, Yes, we did something very like this, with the difference that we first show the repo-browser, meaning the user can choose the DMS location for the new file. It should be quite possible to do:
If you want to use DAM write a handler that shows the DMS Upload dialog, supplying your desired path as a parameter. If you want fckEditor configuration, that will be a bit more tricky. I'm on holidays this week, but I'd be happy to write more when I'm back next week, if it's helpful to you. Regards from Austria, Richard (iPhone) On 15.03.2011, at 17:53, "Jan Haderka" <[email protected]<mailto:[email protected]>> wrote: What you are looking at is writing the custom DAMHandler that would do the job, similar to the "upload" (InternalAssetDAMHandler is the class that does it) that just uploads binary under the page in website. I think somebody already wrote something like that (and maybe they are willing to share ... anybody?) or at least there was a discussion about the topic in the past in the list. HTH, Jan On Mar 15, 2011, at 5:13 PM, Leo Lozes wrote: Hi everybody, As I explained last time, we are trying to avoid the end-user access to AdminCentral, so I’m trying to create a new dialog to upload documents directly to DMS from a web page. What we want to do is to upload a document to DMS, and maintain the same structure in the dms and website contexts. Meaning that if I upload a document from website:webpage/offers/, it should go to the folder dms:webpage/offers, and store the UUID in the page data. I took a look to the DocumentDialog class, but I don’t see an easy way to do it. Have anyone tried to do something similar? Thank you very much, Leo ________________________________ ---------------------------------------------------------------- For list details see <http://www.magnolia-cms.com/home/community/mailing-lists.html>http://www.magnolia-cms.com/home/community/mailing-lists.html To unsubscribe, E-mail to: <<mailto:[email protected]>[email protected]<mailto:[email protected]>> ---------------------------------------------------------------- ________________________________ ---------------------------------------------------------------- For list details see <http://www.magnolia-cms.com/home/community/mailing-lists.html>http://www.magnolia-cms.com/home/community/mailing-lists.html To unsubscribe, E-mail to: <[email protected]<mailto:[email protected]>> ---------------------------------------------------------------- ---------------------------------------------------------------- For list details see http://www.magnolia-cms.com/home/community/mailing-lists.html To unsubscribe, E-mail to: <[email protected]> ----------------------------------------------------------------
