DokuWiki

It's better when it's simple

User Tools

Site Tools


template:dokubook

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
template:dokubook [2013-09-24 22:29]
bugmenot2 tpl works with weatherwax release. But need confirmation
template:dokubook [2020-08-23 17:49] (current)
sf@notomorrow.de compatibility
Line 5: Line 5:
 author        : Michael Klier, Samuel Fischer author        : Michael Klier, Samuel Fischer
 email         : sf@notomorrow.de email         : sf@notomorrow.de
-lastupdate    : 2012-10-03 +lastupdate    : 2016-09-16 
-compatible    : 2010-10-27, 2010-11-07, 2011-11-10, 2011-05-25, 2012-01-25, 2012-09-10, 2012-10-13+compatible    : 2010-10-27, 2010-11-07, 2011-11-10, 2011-05-25, 2012-01-25, 2012-09-10, 2012-10-13, 2013-12-08,2013-05-10, 2014-05-05, 2014-09-29,2015-08-10,2016-06-26,2017-02-19,2018-04-22,2020-07-29
 depends       :  depends       : 
 conflicts     :  conflicts     : 
Line 13: Line 13:
 tags          : mediawiki, sidebar tags          : mediawiki, sidebar
  
-downloadurl   : http://r.notomorrow.de/dokuwiki-template-dokubook/pkg/dokubook-stable.tgz+downloadurl   : https://github.com/samfisch/dokuwiki-template-dokubook/archive/master.zip
 bugtracker    : #https://github.com/samfisch/dokuwiki-template-dokubook/issues #can be enabled in settings bugtracker    : #https://github.com/samfisch/dokuwiki-template-dokubook/issues #can be enabled in settings
 sourcerepo    : https://github.com/samfisch/dokuwiki-template-dokubook sourcerepo    : https://github.com/samfisch/dokuwiki-template-dokubook
Line 46: Line 46:
  
 ===== Installation ===== ===== Installation =====
 +The template can be installed automatically using the extension manager.
 +
 +==== Alternatives ====
 +** tarballs ** 
   - [[#download]] the tarball/zip-file   - [[#download]] the tarball/zip-file
   - unpack it into ''<dokuwiki>/lib/tpl/''   - unpack it into ''<dokuwiki>/lib/tpl/''
Line 97: Line 101:
  
 ==== Adding a personal Logo === ==== Adding a personal Logo ===
-The template looks for a file called ''logo.[jpg|jpeg|png]'' in ''<dokuwki>/lib/tpl/dokubook/images/''. If this file exists it will be shown as your logo. The dimension should be at 128x128. If the file doesn'exists the DokuWiki logo will be displayed instead.+The template looks for a file called ''logo.[jpg|jpeg|png]'' in ''<dokuwki>/lib/tpl/dokubook/images/''. If this file exists it will be shown as your logo. The dimension should be at 128x128. If the file doesn'exist the DokuWiki logo will be displayed instead.
 ===== Browser Compatibility ===== ===== Browser Compatibility =====
 The template was tested with the following Browsers. The template was tested with the following Browsers.
Line 123: Line 127:
   * [[http://www.3open.org/d/]] -- wiki on open source solutions.   * [[http://www.3open.org/d/]] -- wiki on open source solutions.
   * [[http://doc.rhizome-fai.net/]] -- Rhizome documentation   * [[http://doc.rhizome-fai.net/]] -- Rhizome documentation
 +  * without access from the Internet -- the Local library for the smart home
   * Add yours here   * Add yours here
  
Line 189: Line 194:
 --- [[user>simon templar|simon templar]] //2012/04/24 18:01// --- [[user>simon templar|simon templar]] //2012/04/24 18:01//
  
 +
 +Q: Hi - How can you add a Print Preview Link to the Toolbox Side Bar ? 
 +\\ I got only as far as the tpl_functions file and tpl_actionlink (??????);
 +\\ Many Thanks if anyone can help on this
 +
 +OK - I have a basic Printable Link by adding the following code into the dokuwiki\lib\tpl\dokubook\tpl_functions.php file.
 +Below the section for Toolbox.
 +It does not have an icon or link to the lang files, but I am sure someone can figure that out.
 +
 +   // generate the print view
 +    print '<span class="sb_label">' . $lang['print_view'] . '</span>' . DOKU_LF;
 +    print '<div id="toolbox" class="sidebar_box">' . DOKU_LF;
 +    tpl_link(exportlink($ID, 'html'),'Printable Version');
 +    print '</div>' . DOKU_LF;
 +
 +
 +
 +Q: Hi - I would like to set a max-width-size of 1024px and have everything centered. Is there an easy way? 
 +<code>
 +/* -------------- general elements --------------- */
 +
 +* { padding: 0; margin-left:auto; margin-right:auto; max-width: 1024px;}
 +
 +</code>
 +
 +makes it centered. But now the sidebar is on the far left :'
 ==== Maintainer ==== ==== Maintainer ====
 **2011-05-16**: A new maintainer for this template is needed. Have a look at the following if you are interested: [[http://www.freelists.org/post/dokuwiki/Chis-Legacy|1]], [[http://www.freelists.org/post/dokuwiki/New-maintainer-for-Arctic-and-Dokubook-template-needed|2]]. **2011-05-16**: A new maintainer for this template is needed. Have a look at the following if you are interested: [[http://www.freelists.org/post/dokuwiki/Chis-Legacy|1]], [[http://www.freelists.org/post/dokuwiki/New-maintainer-for-Arctic-and-Dokubook-template-needed|2]].
Line 234: Line 265:
 /* Originalwert width: 160px; */ /* Originalwert width: 160px; */
 </code> </code>
 +
 +//ANSWER: 26.05.2013: Is this still working?//
 +Yes, it works, but you must go to admin panel and click save :D
 +
 +==== Can´t change "Closed Wiki" Button ====
 +
 +Im Using HRUN, and activated the closed wiki button in the Dokuwiki Admin menu. A few days later i wanted to change it back, but every time i unchecked the button and hit save, the button was still activated.
 +
 +Even changing closedwiki to false directly in /lib/tpl/dokubook/conf/default.php didnt work. My solution was uncommenting the line, and then it worked
 +
 +<code>//$conf['closedwiki' = false;           // set to true if you run a closed wiki </code>
 +
 +> There was a change since Binky which made Boolean config options stricter. I.e. ''false'' or ''true'' are not allowed anymore, you need to use ''0'' and ''1'' instead. So, the real fix is to change the template's ''conf/default.php'' to:<code php>
 +$conf['closedwiki' = 0;
 +$conf['logo'       = 0;
 +</code> See also [[https://github.com/arsava/dokuwiki-template-vector/commit/56480ef3a57883b2a3472ac202bf303bae746a64|this fix in a different template]]. --- [[user>ach|Anika Henke]] //2015-04-21 02:28//
 +
 +
 +==== Layout broken with Dokubook + Flusterick Manners + IE ====
 +
 +I'm using Dokubook with DW-Flusterick Manners and IE, a combination which doesn't seem to work well. Other browsers renders the pages fine, but IE (which unfortunately is my only choice), doesn't work well, some pages are just rendered bit ugly, other (like when trying ot use latest version of ckgedit) are rendered completely unuseable.
 +
 +Is this template still being maintained or is it time to switch to another template? 
 +
template/dokubook.1380054553.txt.gz · Last modified: 2013-09-24 22:29 by bugmenot2