appwiki:dokuwiki

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
appwiki:dokuwiki [2021/05/19 17:11] – [Customize] yingappwiki:dokuwiki [2021/06/21 16:11] (current) – [old dokuwiki php 7.4 above error] ying
Line 1: Line 1:
  
  
-====== Dokuwiki operation life-cycle maintain guide ====== +====== Dokuwiki Startup Guide ======
- +
-===== compare to other wiki ===== +
- +
-  * ref: http://www.wikimatrix.org/ +
  
 ===== install and setup 2021 ===== ===== install and setup 2021 =====
Line 25: Line 20:
 ** hide sitemap index from non-login user ** ** hide sitemap index from non-login user **
   * check on Configuration Manager > sneaky_index   * check on Configuration Manager > sneaky_index
 +
 +**start page customize**
 +
 +  * admin panel > Configuration manager: Basic panel, starting point: change from "start" to "Welcome" as example, then create the page
 +  * (outdated way) /wiki/conf/dokuwiki.php <code php>
 +$conf['start'] = 'Welcome';           //name of start page
 +</code>
 +
  
 ** change wiki page width ** ** change wiki page width **
Line 64: Line 67:
  
 **change "doku.php" in URL (you need repeat steps if you update dokuwiki)** **change "doku.php" in URL (you need repeat steps if you update dokuwiki)**
 +  - (updated 2021)
   - copy the file "wiki/doku.php" into "wiki/newName.php" (such as "page.php"; but can not be "index.php", as it is reserved for default)   - copy the file "wiki/doku.php" into "wiki/newName.php" (such as "page.php"; but can not be "index.php", as it is reserved for default)
-  - edit wiki/index.php part<code php>header("Location: newName.php");</code> +  - edit wiki/index.php, replace all "doku.php" with "newName.php" 
-  - create wiki/inc/preload.php<code php>+  - create wiki/inc/preload.php<code><?php
 if(!defined('DOKU_SCRIPT')) define('DOKU_SCRIPT','newName.php');</code> if(!defined('DOKU_SCRIPT')) define('DOKU_SCRIPT','newName.php');</code>
 +  - for link in some page that still link to doku.php, you may need to edit that page and update the page cache 
  
 **change wiki URL format** **change wiki URL format**
Line 123: Line 128:
 </code> </code>
   * ref: http://stackoverflow.com/questions/15589912/dokuwiki-how-can-i-hide-media-manager-link-from-non-logged-in-users   * ref: http://stackoverflow.com/questions/15589912/dokuwiki-how-can-i-hide-media-manager-link-from-non-logged-in-users
 +===== DokuWiki plugins =====
 +
 +  * [[https://www.dokuwiki.org/plugin:clearhistory|Clear and Merge history]]: remove small change history
 +  * [[http://danjer.doudouke.org/tech/dokutexit|Doku TeX it]]: a TeX and PDF output plugin for DokuWiki page
 +  * [[http://www.dokuwiki.org/plugin:cronojob|CronoJob]]: script schedule job for Dokuwiki
 +  * [[https://www.dokuwiki.org/plugin:move|Move]]: a plugin helping on moving page and media while maintaining the links
 +  * [[https://www.dokuwiki.org/plugin:hidden|hidden plugin]]: like create spoiler in page syntax
 +  * [[https://www.dokuwiki.org/plugin:vshare|Video Share Plugin]]: embed video site videdo (youtube, vimeo)
 +  * [[https://www.dokuwiki.org/plugin:html5video|HTML5 video plugin]]: embed local or url video
 +  * [[https://www.dokuwiki.org/plugin:edittable|EditTable Plugin]]: easy to edit table
 +    * other option: [[https://www.dokuwiki.org/plugin:dtable|DTable]]: gui to edit table
 +  * [[https://www.dokuwiki.org/plugin:filelist|file list]]
 +  * menubar: http://www.inmotionhosting.com/support/edu/dokuwiki/working-with-menus
 +  * video:
 +    * [[https://www.dokuwiki.org/plugin:html5video|html5video embed]]
 +  * addition config
 +    * [[https://www.dokuwiki.org/plugin:advanced|advanced config plugin for addition configure file creation]]
 +      * good for file type support config, and user css config
 +    * ref:https://www.dokuwiki.org/config
 +
 +===== DokuWiki Templates Install =====
 +
 +  - go Admin > Extension Manager: Search and Install tab, search the theme you want to install.
 +  - then, go to admin > Configuration Manager, Basic: Template to choose the installed template
 +====== Dokuwiki operation life-cycle maintain guide ======
 +
 +===== compare to other wiki =====
 +
 +  * ref: http://www.wikimatrix.org/
 +
 +
 +
 +
 ===== install and setup ===== ===== install and setup =====
  
Line 397: Line 435:
     * ref: https://www.dokuwiki.org/config     * ref: https://www.dokuwiki.org/config
  
 +===== old dokuwiki php 7.4 above error =====
  
 +  * Problem: .\inc\init.php line 564 array error:
 +    * solution: "if($path{0} == '/'){" change to if($path[0] == '/'){
 +    * since new array will use [] instead {}
 +  * Problem: other plugin error like "A PCRE internal error occured. This might be caused by a faulty plugin."
 +    * solution: backup page and media folder under data, and move to new fresh copy of dokuwiki. (like in backup guide)
  
  
Line 464: Line 508:
   - use text config of dokuwiki: [[http://www.dokuwiki.org/auth:plain|official guide]]   - use text config of dokuwiki: [[http://www.dokuwiki.org/auth:plain|official guide]]
  
-====== DokuWiki Preference Configure ====== 
  
-  * /wiki/conf/dokuwiki.php <code php> 
-$conf['start'] = 'Welcome';           //name of start page 
-</code> 
  
-====== DokuWiki plugins ====== 
- 
-  * [[https://www.dokuwiki.org/plugin:clearhistory|Clear and Merge history]]: remove small change history 
-  * [[http://danjer.doudouke.org/tech/dokutexit|Doku TeX it]]: a TeX and PDF output plugin for DokuWiki page 
-  * [[http://www.dokuwiki.org/plugin:cronojob|CronoJob]]: script schedule job for Dokuwiki 
-  * [[https://www.dokuwiki.org/plugin:move|Move]]: a plugin helping on moving page and media while maintaining the links 
-  * [[https://www.dokuwiki.org/plugin:hidden|hidden plugin]]: like create spoiler in page syntax 
-  * [[https://www.dokuwiki.org/plugin:vshare|Video Share Plugin]]: embed video site videdo (youtube, vimeo) 
-  * [[https://www.dokuwiki.org/plugin:html5video|HTML5 video plugin]]: embed local or url video 
-  * [[https://www.dokuwiki.org/plugin:edittable|EditTable Plugin]]: easy to edit table 
-    * other option: [[https://www.dokuwiki.org/plugin:dtable|DTable]]: gui to edit table 
-  * [[https://www.dokuwiki.org/plugin:filelist|file list]] 
-  * menubar: http://www.inmotionhosting.com/support/edu/dokuwiki/working-with-menus 
-  * video: 
-    * [[https://www.dokuwiki.org/plugin:html5video|html5video embed]] 
-  * addition config 
-    * [[https://www.dokuwiki.org/plugin:advanced|advanced config plugin for addition configure file creation]] 
-      * good for file type support config, and user css config 
-    * ref:https://www.dokuwiki.org/config 
 ====== DokuWiki Theme and Customize ====== ====== DokuWiki Theme and Customize ======
  
Line 497: Line 518:
     * https://www.dokuwiki.org/template:bootstrap3     * https://www.dokuwiki.org/template:bootstrap3
  
-===== Bootrap3 template for Dokuwiki =====+===== Bootstrap3 template for Dokuwiki =====
  
   * author page guide page:   * author page guide page:
Line 510: Line 531:
       - Bootstrap Wrapper Plugin: https://www.dokuwiki.org/plugin:bootswrapper       - Bootstrap Wrapper Plugin: https://www.dokuwiki.org/plugin:bootswrapper
       - icons plugin: https://www.dokuwiki.org/plugin:icons       - icons plugin: https://www.dokuwiki.org/plugin:icons
 +
 +  * custom Bootstrap3
 +    - admin > Configuration Setting, go bottom bootstrap3 part
 +    - bootstrap them, choose Bootswatch.com theme
 +    - select a theme : superhero
 +    - check show theme switcher (next, check hide them in switch list, recommend hide all except lumen,slate,superhero,yeti,darkly)
 +    - Navbar part:
 +      - display tools in navbar: when logged in
 +      - enable disable indivdual menu in navbar: check user
 +    - Layout part:
 +      - uncheck full width
 +      - table style: check all except condensed
 +      - uncheck display doku link on footer
 +    - TOC part
 +      - uncheck collapse for 2 option
 +    - Page part:
 +      - check AnchorJs
 +      - and uncheck collapse 2nd section level on mobile
  
   * navbar page for navbar:   * navbar page for navbar:
  • appwiki/dokuwiki.1621444296.txt.gz
  • Last modified: 2021/05/19 17:11
  • by ying