DokuWiki Installer

:

This page assists in the first time installation and configuration of Dokuwiki. More info on this installer is available on it's own documentation page.

DokuWiki uses ordinary files for the storage of wiki pages and other information associated with those pages (e.g. images, search indexes, old revisions, etc). In order to operate successfully DokuWiki must have write access to the directories that hold those files. This installer is not capable of setting up directory permissions. That normally needs to be done directly on a command shell or if you are using hosting, through FTP or your hosting control panel (e.g. cPanel).

This installer will setup your DokuWiki configuration for ACL, which in turn allows administrator login and access to DokuWiki's admin menu for installing plugins, managing users, managing access to wiki pages and alteration of configuration settings. It isn't required for DokuWiki to operate, however it will make Dokuwiki easier to administer.

Experienced users or users with special setup requirements should use these links for details concerning installation instructions and configuration settings.

For security reasons this script will only work with a new and unmodified Dokuwiki installation. You should either re-extract the files from the downloaded package or consult the complete Dokuwiki installation instructions

driven by DokuWiki powered by PHP
Enumeration Custom Fields with Dynamic Possible Values [Mantis Bug Tracker Wiki]

User Tools

Site Tools


mantisbt:dynamic_enum_custom_fields

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
mantisbt:dynamic_enum_custom_fields [2008/10/29 04:25]
127.0.0.1 (old revision restored)
mantisbt:dynamic_enum_custom_fields [2009/04/21 03:36] (current)
ckchan
Line 6: Line 6:
  
 Usually when an enumeration custom field is defined, the possible values are defined as "A|B|C" (without the quotes). For dynamic possible values, an identifier is specified that specifies to Mantis which custom function to use. The ones that are already defined are "=categories", "=versions", "=future_versions", "=released_versions" (again without the quotes). Usually when an enumeration custom field is defined, the possible values are defined as "A|B|C" (without the quotes). For dynamic possible values, an identifier is specified that specifies to Mantis which custom function to use. The ones that are already defined are "=categories", "=versions", "=future_versions", "=released_versions" (again without the quotes).
 +
 +
 +
  
 ===== How to do it? ===== ===== How to do it? =====
Line 15: Line 18:
 <code php> <code php>
 # -------------------- # --------------------
 +# custom_function_api.php
 # Construct an enumeration for all categories for the current project. # Construct an enumeration for all categories for the current project.
 # The enumeration will be empty if current project is ALL PROJECTS. # The enumeration will be empty if current project is ALL PROJECTS.
 # Enumerations format is: "abc|lmn|xyz" # Enumerations format is: "abc|lmn|xyz"
-# To use this in a custom field type "=categories" in the possible values field.+# To use this in a custom field name "=categories" in the possible values field.
 function custom_function_override_enum_categories() { function custom_function_override_enum_categories() {
     $t_categories = category_get_all_rows( helper_get_current_project() );     $t_categories = category_get_all_rows( helper_get_current_project() );
Line 40: Line 44:
   * The custom function builds on top of the already existing APIs.   * The custom function builds on top of the already existing APIs.
  
-To define your own function "=mine", you will have to define it with the following signature:+To define your own function for custom field (name "mine"), you will have to define it with the following signature:
  
 <code php> <code php>
 # -------------------- # --------------------
-# To use this in a custom field type "=mine" in the possible values field.+# To use this in a custom field name "mine" in the possible values field.
 function custom_function_override_enum_mine() { function custom_function_override_enum_mine() {
     $t_enum = array();     $t_enum = array();
mantisbt/dynamic_enum_custom_fields.1225268719.txt.gz ยท Last modified: 2009/04/21 03:30 (external edit)