Differences

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

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
joomla:j39help [2018/11/13 23:31] – [Customization] Bernard Condraujoomla:j39help [2026/09/19 15:43] (current) – removed - external edit (Unknown date) 127.0.0.1
Line 1: Line 1:
-====== Help Server 3rd party Wiki ====== 
  
-The help server is built with DokuWiki. At the moment, all admin help views are served from this server. At a later date, I plan to migrate all site help views to the help server as well. 
- 
-===== Installation ===== 
-  - [[https://download.dokuwiki.org/|Download DokuWiki]] and install 
-  - Install the [[https://www.dokuwiki.org/template:bootie|Bootie Template]] (might replace with my own template later) 
-  - Install [[https://www.dokuwiki.org/plugin:rplus|Renderer Plus Plugin]] 
-  - Install [[https://www.dokuwiki.org/plugin:loadskin|Loadskin Plugin]] 
- 
-==== Settings ==== 
-  * Set "Renderer to use for main (xhtml) wiki output" to **Renderer Plus (plugin)** under //Advanced// in DokuWiki's //Configuration Settings//. This will enable toc in Bootie Template. 
-  * Add "admin" group for every administrator of the help server in //User Manager//. 
-  * Create the language namespaces (e.g. en, fr, de, ko, th) and set permissions to //Read only// for @ALL in //Access Control List Management// 
-  * Set "Use first heading for pagenames" to **Always** under //Display// in DokuWiki's //Configuration Settings//. 
- 
-==== Customization ==== 
-There are a few core hacks required to make this work as a help server, but they are simple and thus easy to maintain, even after an update of DokuWiki or any of the extensions. 
-  * Remove header and footer from the Bootie template by comenting the following lines in /lib/tpl/bootie/main.php. This leaves only the page content to be visible.<code>// include('tpl_header.php'); 
-// include('tpl_footer.php');</code> 
-  * Make sure your admin users always get the default template, through which they can modify pages, and all other users always get the bootie template. This requires to comment out line #160 (function _getTplPerUser) and to add an additional line at line #184 (function _getTplPerNamespace) in file /lib/plugins/loadskin/action.php<code>// return $tplCookie; 
-if ($_SERVER['REMOTE_USER'] == 'admin-user') return 'default-template';</code> 
-  * Create the language fallback to English for non-existent translation pages by adding 3 lines to /doku.php at line #41, just below '$ID = getID();'. Remember to update after you add or remove languages.<code>// get requested language and set language fallback 
-require_once(template('dispatcher.php')); 
-$langcode = help_language(); 
-</code> 
- 
-===== Joomla Access ===== 
-  * Set the Help URL in the component configuration of com_bethico to<code>'https://your.wiki.server/doku.php?id={langcode}:{keyref}'</code> 
-  * Add a help button to view 'view' to open the help page<code>JToolbarHelper::help('view', true);</code> 
-  * With English as the active language it will invoke<code>https://your.wiki.server/doku.php?id=en:view</code>