mantisbt:issue:8253
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| mantisbt:issue:8253 [2007/11/07 07:10] – Description continued but not completed Silbaer | mantisbt:issue:8253 [2010/05/04 09:08] (current) – rattkin | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| ====== Improved Mantis/ | ====== Improved Mantis/ | ||
| - | FIXME | + | FIXME I think, the description is a little bit clumsy. Please correct. |
| The following description works with mantis version 1.1.0rc2 and dokuwiki version 2007-06-26b. It based on [[mantisbt: | The following description works with mantis version 1.1.0rc2 and dokuwiki version 2007-06-26b. It based on [[mantisbt: | ||
| + | |||
| + | You can get all these files from [[http:// | ||
| ===== Dokuwiki ===== | ===== Dokuwiki ===== | ||
| Line 12: | Line 14: | ||
| ==== Mantis Syntax Plug-in ==== | ==== Mantis Syntax Plug-in ==== | ||
| + | If you only want links back to mantis, there is no need for a systax plugin. You can use interwiki shortcuts to create links back to mantis (see [[http:// | ||
| + | |||
| + | The syntax plugin based an the plugin from Victor Boctor, but I changed the syntax. Now it uses **{** like almost all other plugins instead of **~**. | ||
| For the syntax-plugin with support for the dokuwiki admin panel, you have to create several files: | For the syntax-plugin with support for the dokuwiki admin panel, you have to create several files: | ||
| Line 32: | Line 37: | ||
| /** | /** | ||
| * A plug-in that hyper links references to Mantis issues. | * A plug-in that hyper links references to Mantis issues. | ||
| - | * to Mantis issues should use the following format: | + | * to Mantis issues should use the following format: |
| * | * | ||
| * All DokuWiki plugins to extend the parser/ | * All DokuWiki plugins to extend the parser/ | ||
| Line 149: | Line 154: | ||
| === dokuwiki\lib\plugins\mantis\images\bug.gif | === dokuwiki\lib\plugins\mantis\images\bug.gif | ||
| - | A Picture with a little bug, placed in front of the bug links. The file is grabed from dokuwiki.org | + | A [[http:// |
| === dokuwiki\lib\plugins\mantis\lang\en\settings.php | === dokuwiki\lib\plugins\mantis\lang\en\settings.php | ||
| Line 166: | Line 171: | ||
| ==== Mantis Template ==== | ==== Mantis Template ==== | ||
| + | Go to DokuWiki settings and configure mantis URL at the bottom of the setup page. | ||
| Copy the default template (dokuwiki/ | Copy the default template (dokuwiki/ | ||
| Line 356: | Line 362: | ||
| ?> | ?> | ||
| </ | </ | ||
| + | |||
| + | ==== Authorisation Configuration ==== | ||
| + | |||
| + | Create '' | ||
| + | |||
| + | <code php> | ||
| + | # acl.auth.php | ||
| + | # <?php exit()?> | ||
| + | # Don't modify the lines above | ||
| + | # | ||
| + | # Access Control Lists | ||
| + | # | ||
| + | # Editing this file by hand shouldn' | ||
| + | # Manager interface instead. | ||
| + | # | ||
| + | # If your auth backend allows special char like spaces in groups | ||
| + | # or user names you need to urlencode them (only chars <128, leave | ||
| + | # UTF-8 multibyte chars as is) | ||
| + | # | ||
| + | # none 0 | ||
| + | # read 1 | ||
| + | # edit 2 | ||
| + | # create 4 | ||
| + | # upload 8 | ||
| + | # delete 16 | ||
| + | |||
| + | * @VIEWER 1 | ||
| + | * @REPORTER 2 | ||
| + | * @DEVELOPER 8 | ||
| + | * @MANAGER 8 | ||
| + | * @ADMINISTRATOR 8 | ||
| + | * @ALL 0 | ||
| + | </ | ||
| + | |||
| ==== Redirect dokuwiki login/ | ==== Redirect dokuwiki login/ | ||
| Line 1687: | Line 1727: | ||
| </ | </ | ||
| + | ===== Configuration ===== | ||
| + | ==== Dokuwiki ==== | ||
| + | Log in as administrator, | ||
| + | :!: You have to config the filepath and URL to your mantis in the syntax plugin | ||
| + | ==== Mantis ==== | ||
| + | Include this in your mantis configuration. Adjust the paths so it match your install. | ||
| + | <code php> | ||
| + | ##################### | ||
| + | # Wiki Integration | ||
| + | ##################### | ||
| + | # Wiki Integration Enabled? | ||
| + | $g_wiki_enable = ON; | ||
| + | |||
| + | # Wiki Engine | ||
| + | $g_wiki_engine = ' | ||
| + | |||
| + | # Wiki namespace to be used as root for all pages relating to this mantis installation. | ||
| + | $g_wiki_root_namespace = ' | ||
| + | |||
| + | # URL under which the wiki engine is hosted. | ||
| + | $g_wiki_engine_url = $t_protocol . '://' | ||
| + | |||
| + | # CSS file | ||
| + | $g_css_include_file = '/ | ||
| + | </ | ||
mantisbt/issue/8253.1194437403.txt.gz · Last modified: 2008/10/29 04:36 (external edit)
