Hello Jan, thank you for your answer. Unfortunatly I was not able to get this running. So here is what I did:
1. create a folder called "nodownload" in dms (see screenshot [1]) 2. Put 2 files in folder (1 jpg, 1 html) 3. create the nodes and nodedata as you described (result see screenshot [2]) 4. created a new page and inserted two documents, linking to the dms files (from step 2) 5 in preview mode of the page clicked both links but got download dialog on both files First of all I should say, there was no folder "contentDisposition" in dms/config. So I create one (tried to use a folder and a content node) but it would not work. Did I miss something here? Sven [1] http://dev03.cominto.de/sr_test/dms_files.jpg [2] http://dev03.cominto.de/sr_test/dms_config.jpg P.S: I am using Version 3.6.5 of magnolia. 2009/5/4 Jan Haderka <[email protected]> > > On Mon, 2009-05-04 at 09:51 +0200, Sven Raddatz wrote: > > Hi, > > > > a customer is using magnolia cms and looking for a mechanism to > > influence the content disposition header when linking files he > > uploaded in dms. > > I already found the corresponding iusse > > (http://jira.magnolia.info/browse/MGNLDMS-100), but do not understand > > how to "use" this bugfix. > > > > What we try to accomplish is: > > -Create a new folder in dms (containing several files) > > -Configure that all files in this folder should NOT be added the > > content disposition attacment header > > > > What does the user of the cms have to do in order to apply this? > > Go to the admin central and create new node called "location" under > config:/modules/dms/config/contentDisposition/ > > in this new node create > node data called "class" and set its value to > "info.magnolia.voting.voters.URIStartsWithVoter" > then create "pattern" node data and set its value to > "/dms/yourNewFolderName" > and as a last thing create node data called "not" and set its value to > "true" > > just to sumarize, after you are done your new content node "location" > should look like > > /modules/dms/config/contentDisposition/location > - class = info.magnolia.voting.voters.URIStartsWithVoter > - pattern = /dms/yourNewFolderName > - not = true > > That should do the trick. > > Cheers, > Jan > > > > > > > Thanks in advance, > > Sven > > > > > > ---------------------------------------------------------------- > 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]> ----------------------------------------------------------------
