Not logged in. · Lost password · Register
Forum: General Help and Support Features and Functionality RSS
Adding image and other files to a DocuWiki page
How do I expand the file types?
Avatar
MarkDawson #1
User title: Mark
Member since Nov 2006 · 1 post · Location: Chicago, Illinois
Group memberships: Members
Show profile · Link to this post
Subject: Adding image and other files to a DocuWiki page
I have been able to upload gif, jpg, png, and PDF files to the DocuWiki site for my employer, using the "Add images and other files" icon from the edit page.  This opens the Mediafile Selection window.  But for certain kinds of files, when I try an upload I get an error message saying the file extension is forbidden.

Why?  Is a plugin available to allow me to post other kinds of files, or some other method I can use to work around this restriction?  I would like to be able to create an online help file--CHM, or Compiled HTML--using RoboHelp, and then post this CHM file as part of an internal link on a docuwiki page.  If that works for a PDF file, I'm not sure why it wouldn't work for CHM.  I could experiment with creating an external link to a chm file but my first choice would be to be able to provide it internally.

Thanks for your help.
Avatar
zyberdog #2
Member since Oct 2006 · 25 posts · Location: Denmark
Group memberships: Members
Show profile · Link to this post
There is a mime.conf file in the /conf/ folder, where allowed extensions are defined. http://wiki.splitbrain.org/wiki:mime.

You can create a mime.local.conf file in that folder, which will serve as additional file extensions and not be overwritten in case you need to upgrade DokuWiki.
Close Smaller – Larger + Reply to this post:
Verification code: VeriCode Please enter the word from the image into the text field below. (Type the letters only, lower case is okay.)
Smileys: :-) ;-) :-D :-p :blush: :cool: :rolleyes: :huh: :-/ <_< :-( :'( :#: :scared: 8-( :nuts: :-O
Special characters:
Go to forum
Imprint
This board is powered by the Unclassified NewsBoard software, 20150713-dev, © 2003-2015 by Yves Goergen
Current time: 2020-01-27, 19:18:32 (UTC +01:00)