dokuwiki

Set permission of files and directories

Tag(s):

chown -R www-data:www-data /path/to/directory

Export page to pdf

Tag(s):

dw2pdf ignores print.css: https://forum.dokuwiki.org/thread/8067

Setup export ODT

Tag(s):

Add DOKUWIKI-ODT-INSERT in your ODT file. Otherwise, a newline is created.

Allow upload of different file extensions

Tag(s):

If you want to upload a file and get a "Upload denied. This file extension is forbidden!" message, you should change the mime configuration file, ./conf/mime.local.conf(Create it if it doesn't exist).

./conf/mime.local.conf rules:

  • Exclamation point(!) means txt will be downloaded. Without (!), it would display on the browser.

Add table in list

In Dokuwiki, you can add table in a list. To solve this, install Wrap Plugin.

  - Step 1
  - Step 2
  - Step 3 <WRAP>
^ Field    ^ Value  ^ test  ^
| Integer  | 101    | 31    |
| Decimal  | 9.99   | 3     |
</WRAP>
  - Step 4
  - Step 5

Installation issue with plugin:odt

Tag(s):

If you are installing ODT plugin of Dokuwiki using version dokuwiki-odt-20140210.zip, it will not work. Here are the extra steps you have to do to make it work:

Use full page width

  1. You can adjust the width of the template by overriding the __site_width__ variable.
  2. Simply create the file lib/tpl/dokuwiki/style.local.ini and set the variable accordingly.
  3. You can either use a fixed value (px or em) or a percent value (%) if you prefer a dynamic width.

Example:

Number and indent headers, and indent contents

Tag(s):

Create and paste the following code in ..\conf\userall.css. Note: Go to Admin->Configuration Settings and click on Save for the changes to take effect.

Subscribe to RSS - dokuwiki