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]>
----------------------------------------------------------------

Reply via email to