Hi Richard,

Your solution of showing the repo-browser is ok too (it seemed easier to
avoid this step). 
And yes, any help is appreciated. 

Anyway, enjoy your holidays, we'll talk next week :)

Leo

-----Mensaje original-----
De: [email protected]
[mailto:[email protected]] En nombre de Unger, Richard
Enviado el: miércoles, 16 de marzo de 2011 10:40
Para: Magnolia User-List
CC: Magnolia User-List
Asunto: Re: [magnolia-user] Upload document to DMS from CMS


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.ma
gnolia-cms.com/home/community/mailing-lists.html
To unsubscribe, E-mail to:
<<mailto:[email protected]>user-list-unsubscribe@magnol
ia-cms.com<mailto:[email protected]>>
----------------------------------------------------------------




________________________________
----------------------------------------------------------------
For list details see
<http://www.magnolia-cms.com/home/community/mailing-lists.html>http://www.ma
gnolia-cms.com/home/community/mailing-lists.html
To unsubscribe, E-mail to:
<[email protected]<mailto:user-list-unsubscribe@magnoli
a-cms.com>>
----------------------------------------------------------------



----------------------------------------------------------------
For list details see
http://www.magnolia-cms.com/home/community/mailing-lists.html
To unsubscribe, E-mail to: <[email protected]>
----------------------------------------------------------------



----------------------------------------------------------------
For list details see
http://www.magnolia-cms.com/home/community/mailing-lists.html
To unsubscribe, E-mail to: <[email protected]>
----------------------------------------------------------------

Reply via email to