CINXE.COM

template:sidebar [DokuWiki]

<!DOCTYPE html> <html lang="en" dir="ltr" class="no-js"> <head> <meta charset="utf-8" /> <title>template:sidebar [DokuWiki]</title> <meta name="generator" content="DokuWiki"/> <meta name="theme-color" content="#008800"/> <meta name="robots" content="index,follow"/> <meta name="keywords" content="template,sidebar"/> <link rel="search" type="application/opensearchdescription+xml" href="/lib/exe/opensearch.php" title="DokuWiki"/> <link rel="start" href="/"/> <link rel="contents" href="/template:sidebar?do=index" title="Sitemap"/> <link rel="manifest" href="/lib/exe/manifest.php" crossorigin="use-credentials"/> <link rel="alternate" type="application/rss+xml" title="Recent Changes" href="/feed.php"/> <link rel="alternate" type="application/rss+xml" title="Current namespace" href="/feed.php?mode=list&amp;ns=template"/> <link rel="edit" title="Edit this page" href="/template:sidebar?do=edit"/> <link rel="alternate" type="text/html" title="Plain HTML" href="/_export/xhtml/template:sidebar"/> <link rel="alternate" type="text/plain" title="Wiki Markup" href="/_export/raw/template:sidebar"/> <link rel="canonical" href="https://www.dokuwiki.org/template:sidebar"/> <link rel="stylesheet" href="/lib/exe/css.php?t=dokuwiki&amp;tseed=7ae64dbeb6443493d1676fcfa66176f2"/> <script >var NS='template';var JSINFO = {"plugins":{"edittable":{"default columnwidth":""}},"id":"template:sidebar","namespace":"template","ACT":"show","useHeadingNavigation":0,"useHeadingContent":0};(function(H){H.className=H.className.replace(/\bno-js\b/,'js')})(document.documentElement);</script> <script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.7.1/jquery.min.js" defer="defer"></script> <script src="https://cdnjs.cloudflare.com/ajax/libs/jqueryui/1.14.1/jquery-ui.min.js" defer="defer"></script> <script src="/lib/exe/js.php?t=dokuwiki&amp;tseed=7ae64dbeb6443493d1676fcfa66176f2&amp;lang=en" defer="defer"></script> <meta name="viewport" content="width=device-width,initial-scale=1" /> <link rel="shortcut icon" href="/lib/tpl/dokuwiki/images/favicon.ico" /> <link rel="apple-touch-icon" href="/lib/tpl/dokuwiki/images/apple-touch-icon.png" /> <meta name="verify-v1" content="OVxl3gsCv2MhZqh1cBQyl0JytWXSwXMjyvwc+4w3WtA=" /> <meta name="google-site-verification" content="YhTVK69hW94ZXUtc2zSLPxTkZKbZIn0zK67mz5WQB-E" /> <!-- Global site tag (gtag.js) - Google Analytics --> <script async src="https://www.googletagmanager.com/gtag/js?id=UA-83791-1"></script> <script> window.dataLayer = window.dataLayer || []; function gtag(){dataLayer.push(arguments);} gtag('js', new Date()); gtag('config', 'UA-83791-1', { 'anonymize_ip': true }); </script> </head> <body> <div id="dokuwiki__site"><div id="dokuwiki__top" class="site dokuwiki mode_show tpl_dokuwiki showSidebar hasSidebar"> <!-- ********** HEADER ********** --> <header id="dokuwiki__header"><div class="pad group"> <div class="headings group"> <ul class="a11y skip"> <li><a href="#dokuwiki__content">skip to content</a></li> </ul> <h1 class="logo"><a href="/start" accesskey="h" title="Home [h]"><img src="/lib/tpl/dokuwiki/images/logo.png" width="64" height="64" alt="" /><span>DokuWiki</span></a></h1> <p class="claim">It's better when it's simple</p> </div> <div class="tools group"> <!-- USER TOOLS --> <div id="dokuwiki__usertools"> <h3 class="a11y">User Tools</h3> <ul> <li class="action login"><a href="/template:sidebar?do=login&amp;sectok=" title="Log In" rel="nofollow"><span>Log In</span><svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path d="M10 17.25V14H3v-4h7V6.75L15.25 12 10 17.25M8 2h9a2 2 0 0 1 2 2v16a2 2 0 0 1-2 2H8a2 2 0 0 1-2-2v-4h2v4h9V4H8v4H6V4a2 2 0 0 1 2-2z"/></svg></a></li> </ul> </div> <!-- SITE TOOLS --> <div id="dokuwiki__sitetools"> <h3 class="a11y">Site Tools</h3> <form action="/start" method="get" role="search" class="search doku_form" id="dw__search" accept-charset="utf-8"><input type="hidden" name="do" value="search" /><input type="hidden" name="id" value="template:sidebar" /><div class="no"><input name="q" type="text" class="edit" title="[F]" accesskey="f" placeholder="Search" autocomplete="on" id="qsearch__in" value="" /><button value="1" type="submit" title="Search">Search</button><div id="qsearch__out" class="ajax_qsearch JSpopup"></div></div></form> <div class="mobileTools"> <form action="/doku.php" method="get" accept-charset="utf-8"><div class="no"><input type="hidden" name="id" value="template:sidebar" /><select name="do" class="edit quickselect" title="Tools"><option value="">Tools</option><optgroup label="Page Tools"><option value="edit">Edit this page</option><option value="revisions">Old revisions</option><option value="backlink">Backlinks</option></optgroup><optgroup label="Site Tools"><option value="recent">Recent Changes</option><option value="media">Media Manager</option><option value="index">Sitemap</option></optgroup><optgroup label="User Tools"><option value="login">Log In</option></optgroup></select><button type="submit">&gt;</button></div></form> </div> <ul> <li class="action recent"><a href="/template:sidebar?do=recent" title="Recent Changes [r]" rel="nofollow" accesskey="r">Recent Changes</a></li><li class="action media"><a href="/template:sidebar?do=media&amp;ns=template" title="Media Manager" rel="nofollow">Media Manager</a></li><li class="action index"><a href="/template:sidebar?do=index" title="Sitemap [x]" rel="nofollow" accesskey="x">Sitemap</a></li> </ul> </div> </div> <!-- BREADCRUMBS --> <div class="breadcrumbs"> <div class="trace"><span class="bchead">Trace:</span> <span class="bcsep">•</span> <span class="curid"><bdi><a href="/template:sidebar" class="breadcrumbs" title="template:sidebar">sidebar</a></bdi></span></div> </div> <hr class="a11y" /> </div></header><!-- /header --> <div class="wrapper group"> <!-- ********** ASIDE ********** --> <nav id="dokuwiki__aside" aria-label="Sidebar"><div class="pad aside include group"> <h3 class="toggle">Sidebar</h3> <div class="content"><div class="group"> <p> <strong>Learn about DokuWiki</strong> </p> <ul> <li class="level1"><div class="li"> <a href="/features" class="wikilink1" title="features" data-wiki-id="features">Features</a> &amp; <a href="/blogroll" class="wikilink1" title="blogroll" data-wiki-id="blogroll">reviews</a> </div> </li> <li class="level1"><div class="li"> <a href="/install" class="wikilink1" title="install" data-wiki-id="install">Installation guide</a></div> </li> <li class="level1"><div class="li"> <a href="/manual" class="wikilink1" title="manual" data-wiki-id="manual">User manual</a> &amp; <a href="/wiki:syntax" class="wikilink1" title="wiki:syntax" data-wiki-id="wiki:syntax">syntax</a></div> </li> <li class="level1"><div class="li"> <a href="/changes" class="wikilink1" title="changes" data-wiki-id="changes">Release notes</a></div> </li> <li class="level1"><div class="li"> <a href="/faq" class="wikilink1" title="faq" data-wiki-id="faq">FAQ</a></div> </li> </ul> <p> <strong>Advanced Use</strong> </p> <ul> <li class="level1"><div class="li"> <a href="/extensions" class="wikilink1" title="extensions" data-wiki-id="extensions">Extensions</a></div> </li> <li class="level1"><div class="li"> <a href="/development" class="wikilink1" title="development" data-wiki-id="development">Development manual</a></div> </li> </ul> <p> <strong>Corporate Use</strong> </p> <ul> <li class="level1"><div class="li"> <a href="/faq:support" class="wikilink1" title="faq:support" data-wiki-id="faq:support">Get support</a></div> </li> <li class="level1"><div class="li"> <a href="/donate" class="wikilink1" title="donate" data-wiki-id="donate">Donations</a></div> </li> </ul> <p> <strong>Our Community</strong> </p> <ul> <li class="level1"><div class="li"> <a href="/teams:getting_involved" class="wikilink1" title="teams:getting_involved" data-wiki-id="teams:getting_involved">Get involved</a></div> </li> <li class="level1"><div class="li"> <a href="/dokuinstall" class="wikilink1" title="dokuinstall" data-wiki-id="dokuinstall">Users</a></div> </li> <li class="level1"><div class="li"> <a href="http://forum.dokuwiki.org" class="urlextern" title="http://forum.dokuwiki.org">User forum</a></div> </li> <li class="level1"><div class="li"> <a href="/mailinglist" class="wikilink1" title="mailinglist" data-wiki-id="mailinglist">Development mailinglist</a></div> </li> </ul> <hr /> <p> Follow us on <a href="https://phpc.social/@dokuwiki" class="urlextern" title="https://phpc.social/@dokuwiki">Mastodon</a> and other <a href="/social" class="wikilink1" title="social" data-wiki-id="social">social networks</a>. </p> <p> <a href="/privacy" class="wikilink1" title="privacy" data-wiki-id="privacy">Our Privacy Policy</a> </p> </div></div> </div></nav><!-- /aside --> <!-- ********** CONTENT ********** --> <main id="dokuwiki__content"><div class="pad group"> <div class="pageId"><span>template:sidebar</span></div> <div class="page group"> <!-- wikipage start --> <!-- TOC START --> <div id="dw__toc" class="dw__toc"> <h3 class="toggle">Table of Contents</h3> <div> <ul class="toc"> <li class="level1"><div class="li"><a href="#sidebar_template">Sidebar Template</a></div> <ul class="toc"> <li class="level2"><div class="li"><a href="#download_and_install">Download and Install</a></div></li> <li class="level2"><div class="li"><a href="#sites_using_this_template">Sites using this Template</a></div></li> <li class="level2"><div class="li"><a href="#security_fix">Security Fix</a></div></li> <li class="level2"><div class="li"><a href="#bug_found">Bug found</a></div></li> <li class="level2"><div class="li"><a href="#feature_request">Feature Request</a></div></li> <li class="level2"><div class="li"><a href="#bug_found1">Bug found</a></div></li> <li class="level2"><div class="li"><a href="#bug_found2">Bug found</a></div></li> <li class="level2"><div class="li"><a href="#bug_found3">Bug Found</a></div></li> <li class="level2"><div class="li"><a href="#plugin_version">Plugin Version</a></div></li> <li class="level2"><div class="li"><a href="#discussion">Discussion</a></div></li> <li class="level2"><div class="li"><a href="#broken_link">Broken Link</a></div></li> </ul></li> </ul> </div> </div> <!-- TOC END --> <h1 class="sectionedit1" id="sidebar_template">Sidebar Template</h1> <div class="level1"> <div class="pluginrepo_entry"><div class="usageInfo"><div class="compatibility"><p class="label">Compatible with DokuWiki</p><p>2009-02-14</p></div><ul class="actions"><li><a class="download" href="http://dokuwiki.jalakai.co.uk/template-sidebar.zip">Download</a></li></ul><div class="clearer"></div></div><div class="mainInfo"><p class="description"><a class="media" href="/templates"><img alt="template" class="medialeft" src="/lib/plugins/pluginrepo/images/dwplugin.png" width="60" height="60" /></a> Provide DokuWiki with a flexible sidebar</p><a href="/lib/exe/fetch.php?tok=d05c4d&amp;media=http%3A%2F%2Fdokuwiki.jalakai.co.uk%2Fdokuwiki-sidebartemplate-2x2.jpg" class="media screenshot" title="Screenshot of sidebar" rel="lightbox" data-url="/lib/exe/fetch.php?tok=d05c4d&amp;media=http%3A%2F%2Fdokuwiki.jalakai.co.uk%2Fdokuwiki-sidebartemplate-2x2.jpg"><img src="/lib/exe/fetch.php?w=220&amp;tok=83b3bd&amp;media=http%3A%2F%2Fdokuwiki.jalakai.co.uk%2Fdokuwiki-sidebartemplate-2x2.jpg" alt="" width="220" /></a></div><div class="metaInfo"><dl><dt>Last updated on</dt><dd>2009-01-27</dd></dl></div><div class="moreInfo"><div class="notify"><p>This extension has not been updated in over 2 years. It may no longer be maintained or supported and may have compatibility issues.</p></div><p class="tags">Tagged with <a href="/template?plugintag=sidebar#extension__table" class="wikilink1" title="List all plugins with this tag">sidebar</a></p></div><div class="authorInfo"><strong>By <a href="mailto:chris%20%5Bat%5D%20jalakai%20%5Bdot%5D%20co%20%5Bdot%5D%20uk" class="mail" title="chris [at] jalakai [dot] co [dot] uk">ChrisS</a></strong><ul><li><a href="/plugin:usermanager" class="wikilink1" title="plugin:usermanager" data-wiki-id="plugin:usermanager">usermanager</a></li> <li><a href="/plugin:source" class="wikilink1" title="plugin:source" data-wiki-id="plugin:source">source</a></li> <li><a href="/plugin:googlemaps" class="wikilink1" title="plugin:googlemaps" data-wiki-id="plugin:googlemaps">googlemaps</a></li> <li><a href="/plugin:iframe" class="wikilink1" title="plugin:iframe" data-wiki-id="plugin:iframe">iframe</a></li> <li><a href="/plugin:linebreak" class="wikilink1" title="plugin:linebreak" data-wiki-id="plugin:linebreak">linebreak</a></li> <li><a href="/plugin:outdent" class="wikilink1" title="plugin:outdent" data-wiki-id="plugin:outdent">outdent</a></li> <li><a href="/plugin:camelcase" class="wikilink1" title="plugin:camelcase" data-wiki-id="plugin:camelcase">camelcase</a></li> <li><a href="/plugin:xbr" class="wikilink1" title="plugin:xbr" data-wiki-id="plugin:xbr">xbr</a></li> <li><a href="/plugin:box" class="wikilink1" title="plugin:box" data-wiki-id="plugin:box">box</a></li> <li><a href="/plugin:loginredirect" class="wikilink1" title="plugin:loginredirect" data-wiki-id="plugin:loginredirect">loginredirect</a></li> <li>and 3 more</li></ul></div></div> <p> Provide DokuWiki with a flexible sidebar. </p> </div> <div class="secedit editbutton_section editbutton_1"><form class="button btn_secedit" method="post" action="/template:sidebar"><div class="no"><input type="hidden" name="do" value="edit" /><input type="hidden" name="rev" value="1698703905" /><input type="hidden" name="summary" value="[Sidebar Template] " /><input type="hidden" name="target" value="section" /><input type="hidden" name="hid" value="sidebar_template" /><input type="hidden" name="codeblockOffset" value="0" /><input type="hidden" name="range" value="1-701" /><button type="submit" title="Sidebar Template">Edit</button></div></form></div> <h2 class="sectionedit2" id="download_and_install">Download and Install</h2> <div class="level2"> <p> Use the following <abbr title="Uniform Resource Locator">URL</abbr> to download this template: </p> <ul> <li class="level1"><div class="li"> <a href="http://dokuwiki.jalakai.co.uk/index.html#templates" class="urlextern" title="http://dokuwiki.jalakai.co.uk/index.html#templates">http://dokuwiki.jalakai.co.uk/index.html#templates</a></div> </li> </ul> <p> Refer to <a href="/template" class="wikilink1" title="template" data-wiki-id="template">template</a> on how to install and use templates in DokuWiki. </p> </div> <div class="secedit editbutton_section editbutton_2"><form class="button btn_secedit" method="post" action="/template:sidebar"><div class="no"><input type="hidden" name="do" value="edit" /><input type="hidden" name="rev" value="1698703905" /><input type="hidden" name="summary" value="[Download and Install] " /><input type="hidden" name="target" value="section" /><input type="hidden" name="hid" value="download_and_install" /><input type="hidden" name="codeblockOffset" value="0" /><input type="hidden" name="range" value="702-918" /><button type="submit" title="Download and Install">Edit</button></div></form></div> <h2 class="sectionedit3" id="sites_using_this_template">Sites using this Template</h2> <div class="level2"> <ul> <li class="level1"><div class="li"> <a href="http://wiki.jalakai.co.uk/dokuwiki" class="urlextern" title="http://wiki.jalakai.co.uk/dokuwiki">sidebar demonstration site</a> (includes additional resources) </div> </li> </ul> </div> <div class="secedit editbutton_section editbutton_3"><form class="button btn_secedit" method="post" action="/template:sidebar"><div class="no"><input type="hidden" name="do" value="edit" /><input type="hidden" name="rev" value="1698703905" /><input type="hidden" name="summary" value="[Sites using this Template] " /><input type="hidden" name="target" value="section" /><input type="hidden" name="hid" value="sites_using_this_template" /><input type="hidden" name="codeblockOffset" value="0" /><input type="hidden" name="range" value="919-1061" /><button type="submit" title="Sites using this Template">Edit</button></div></form></div> <h2 class="sectionedit4" id="security_fix">Security Fix</h2> <div class="level2"> <p> Sidebar shows navigation even I do not have access to the resources (like all resources are readable for signed on users only). <br/> I cooked such trivial <a href="http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/dokuwiki-tpl-sidebar/acl-check.patch" class="urlextern" title="http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/dokuwiki-tpl-sidebar/acl-check.patch"> fix </a> and notified <code>Chris–S</code> on <abbr title="Internet Relay Chat">IRC</abbr>. </p> <p> — <em><a href="mailto:glen%20%5Bat%5D%20pld%20%5Bdash%5D%20linux%20%5Bdot%5D%20org" class="mail" title="glen [at] pld [dash] linux [dot] org">Elan Ruusamäe</a> 2010-03-23 10:58 EET</em> </p> </div> <div class="secedit editbutton_section editbutton_4"><form class="button btn_secedit" method="post" action="/template:sidebar"><div class="no"><input type="hidden" name="do" value="edit" /><input type="hidden" name="rev" value="1698703905" /><input type="hidden" name="summary" value="[Security Fix] " /><input type="hidden" name="target" value="section" /><input type="hidden" name="hid" value="security_fix" /><input type="hidden" name="codeblockOffset" value="0" /><input type="hidden" name="range" value="1062-1444" /><button type="submit" title="Security Fix">Edit</button></div></form></div> <h2 class="sectionedit5" id="bug_found">Bug found</h2> <div class="level2"> <p> Using citation <sup><a href="#fn__1" id="fnt__1" class="fn_top">1)</a></sup> I recognized, that obviously the same stylesheet (of the main page) is used for showing the citation-text while MouseOver. This results in partly invisibility of the citation/popup, because the first column is blank (sidebar) and the border/size of the main window is ignored. While the citations at the end of the line is not visible, you see nothing of the text. <em>DokuWiki 2009-02-14 &amp; latest plugin sidebar </em> </p> </div> <div class="secedit editbutton_section editbutton_5"><form class="button btn_secedit" method="post" action="/template:sidebar"><div class="no"><input type="hidden" name="do" value="edit" /><input type="hidden" name="rev" value="1698703905" /><input type="hidden" name="summary" value="[Bug found] " /><input type="hidden" name="target" value="section" /><input type="hidden" name="hid" value="bug_found" /><input type="hidden" name="codeblockOffset" value="0" /><input type="hidden" name="range" value="1445-1907" /><button type="submit" title="Bug found">Edit</button></div></form></div> <h2 class="sectionedit6" id="feature_request">Feature Request</h2> <div class="level2"> <p> Is it possible to install a config-switch (checkOnOff) to open the namespace start-page by clicking on the sidebar-navigation entry of the namespace. Instead of listing “start” in the sidebar. The name of the “start”-page is a config-data of DokuWiki, where the name can be achieved, if it is changed by the admin. Like plugin indexmenu. </p> </div> <div class="secedit editbutton_section editbutton_6"><form class="button btn_secedit" method="post" action="/template:sidebar"><div class="no"><input type="hidden" name="do" value="edit" /><input type="hidden" name="rev" value="1698703905" /><input type="hidden" name="summary" value="[Feature Request] " /><input type="hidden" name="target" value="section" /><input type="hidden" name="hid" value="feature_request" /><input type="hidden" name="codeblockOffset" value="0" /><input type="hidden" name="range" value="1908-2275" /><button type="submit" title="Feature Request">Edit</button></div></form></div> <h2 class="sectionedit7" id="bug_found1">Bug found</h2> <div class="level2"> <p> In DokuWiki v2008-05-05 In the template that I use the side bar includes index of the whole wiki. When expanding the index the side bar does not resize, so many of the name spaces and pages in the index are cropped and are half shown or not shown at all. One fix would be for the user to be able to dynamically resize the side bar frame. Another solution would be for the side bar to automatically resize itself so that all its text is shown correctly. </p> </div> <div class="secedit editbutton_section editbutton_7"><form class="button btn_secedit" method="post" action="/template:sidebar"><div class="no"><input type="hidden" name="do" value="edit" /><input type="hidden" name="rev" value="1698703905" /><input type="hidden" name="summary" value="[Bug found] " /><input type="hidden" name="target" value="section" /><input type="hidden" name="hid" value="bug_found1" /><input type="hidden" name="codeblockOffset" value="0" /><input type="hidden" name="range" value="2276-2751" /><button type="submit" title="Bug found">Edit</button></div></form></div> <h2 class="sectionedit8" id="bug_found2">Bug found</h2> <div class="level2"> <p> <strong>FIXED</strong> In DokuWiki v2008-05-05 I had to change lib/tpl/sidebar/main.php from </p> <pre class="code"> &lt;div class=&quot;bar-right&quot; id=&quot;bar__bottomright&quot;&gt; &lt;?php tpl_button(&#039;subscribe&#039;)?&gt; &lt;?php tpl_button(&#039;subscribens&#039;)?&gt; &lt;?php tpl_button(&#039;admin&#039;)?&gt; &lt;?php tpl_button(&#039;profile&#039;)?&gt; &lt;?php tpl_button(&#039;login&#039;)?&gt; &lt;?php tpl_button(&#039;index&#039;)?&gt; &lt;?php tpl_button(&#039;top&#039;)?&gt;&amp;nbsp; &lt;/div&gt;</pre> <p> to </p> <pre class="code"> &lt;div class=&quot;bar-right&quot; id=&quot;bar__bottomright&quot;&gt; &lt;?php tpl_button(&#039;subscription&#039;)?&gt; &lt;?php tpl_button(&#039;admin&#039;)?&gt; &lt;?php tpl_button(&#039;profile&#039;)?&gt; &lt;?php tpl_button(&#039;login&#039;)?&gt; &lt;?php tpl_button(&#039;index&#039;)?&gt; &lt;?php tpl_button(&#039;top&#039;)?&gt;&amp;nbsp; &lt;/div&gt;</pre> <p> to get the “subscription” buttons OK. </p> <blockquote><div class="no"> Acknowledged. I&#039;ll mark the current release as develonly and release one with the single button put back <abbr title="As soon as possible">ASAP</abbr>. — <em><a href="mailto:chris%20%5Bat%5D%20jalakai%20%5Bdot%5D%20co%20%5Bdot%5D%20uk" class="mail" title="chris [at] jalakai [dot] co [dot] uk">Christopher Smith</a> 2009/01/21 09:36</em><blockquote><div class="no"> Fixed. Download packages and darcs versions updated. — <em><a href="mailto:chris%20%5Bat%5D%20jalakai%20%5Bdot%5D%20co%20%5Bdot%5D%20uk" class="mail" title="chris [at] jalakai [dot] co [dot] uk">Christopher Smith</a> 2009/01/25 03:41</em></div></blockquote> </div></blockquote> </div> <div class="secedit editbutton_section editbutton_8"><form class="button btn_secedit" method="post" action="/template:sidebar"><div class="no"><input type="hidden" name="do" value="edit" /><input type="hidden" name="rev" value="1698703905" /><input type="hidden" name="summary" value="[Bug found] " /><input type="hidden" name="target" value="section" /><input type="hidden" name="hid" value="bug_found2" /><input type="hidden" name="codeblockOffset" value="0" /><input type="hidden" name="range" value="2752-3832" /><button type="submit" title="Bug found">Edit</button></div></form></div> <h2 class="sectionedit9" id="bug_found3">Bug Found</h2> <div class="level2"> <p> <strong>FIXED</strong> I&#039;ve been trying to use the sidebar template. I like it except for one bug I&#039;ve found. The menu never expands to the current location. </p> <p> Example: If I&#039;m at main:second:third:topic the menu will look like this: </p> <pre class="code">\/ main \/ second + third</pre> <p> Third should be expanded so anything relevant can be accessed in a single click. </p> <pre class="code">\/ main \/ second \/ third topic topic2 topic3</pre> <p> Fix </p> <pre class="code">92c92 &lt; # $ID = getNS($ID); --- &gt; $ID = getNS($ID);</pre> <blockquote><div class="no"> Fixed. Download packages and darcs versions updated. — <em><a href="mailto:chris%20%5Bat%5D%20jalakai%20%5Bdot%5D%20co%20%5Bdot%5D%20uk" class="mail" title="chris [at] jalakai [dot] co [dot] uk">Christopher Smith</a> 2009/01/25 03:41</em></div></blockquote> </div> <div class="secedit editbutton_section editbutton_9"><form class="button btn_secedit" method="post" action="/template:sidebar"><div class="no"><input type="hidden" name="do" value="edit" /><input type="hidden" name="rev" value="1698703905" /><input type="hidden" name="summary" value="[Bug Found] " /><input type="hidden" name="target" value="section" /><input type="hidden" name="hid" value="bug_found3" /><input type="hidden" name="codeblockOffset" value="0" /><input type="hidden" name="range" value="3833-4505" /><button type="submit" title="Bug Found">Edit</button></div></form></div> <h2 class="sectionedit10" id="plugin_version">Plugin Version</h2> <div class="level2"> <p> Since this template only adds a few lines to the original DokuWiki template, I implemented this as an Action plugin. See <a href="/plugin:sidebar" class="wikilink1" title="plugin:sidebar" data-wiki-id="plugin:sidebar">sidebar</a>. Hope you don&#039;t mind. — <em><a href="mailto:mbirth%20%5Bat%5D%20webwriters%20%5Bdot%5D%20de" class="mail" title="mbirth [at] webwriters [dot] de">Markus Birth</a> 2009/02/10 01:58</em> </p> </div> <div class="secedit editbutton_section editbutton_10"><form class="button btn_secedit" method="post" action="/template:sidebar"><div class="no"><input type="hidden" name="do" value="edit" /><input type="hidden" name="rev" value="1698703905" /><input type="hidden" name="summary" value="[Plugin Version] " /><input type="hidden" name="target" value="section" /><input type="hidden" name="hid" value="plugin_version" /><input type="hidden" name="codeblockOffset" value="3" /><input type="hidden" name="range" value="4506-4761" /><button type="submit" title="Plugin Version">Edit</button></div></form></div> <h2 class="sectionedit11" id="discussion">Discussion</h2> <div class="level2"> <p> Minor point but would it be possible to have a better screenshot? </p> <p> How do I make font size bigger on Sidebar templates? </p> </div> <div class="secedit editbutton_section editbutton_11"><form class="button btn_secedit" method="post" action="/template:sidebar"><div class="no"><input type="hidden" name="do" value="edit" /><input type="hidden" name="rev" value="1698703905" /><input type="hidden" name="summary" value="[Discussion] " /><input type="hidden" name="target" value="section" /><input type="hidden" name="hid" value="discussion" /><input type="hidden" name="codeblockOffset" value="3" /><input type="hidden" name="range" value="4762-4905" /><button type="submit" title="Discussion">Edit</button></div></form></div> <h2 class="sectionedit12" id="broken_link">Broken Link</h2> <div class="level2"> <p> The download link for this template is broken (as is the link to the demonstration site). Does anybody have a copy or the latest version of this template they could provide? It would be much appreciated. Thanks! — <em><a href="mailto:bbuchanan%20%5Bat%5D%20ailancorp%20%5Bdot%5D%20com" class="mail" title="bbuchanan [at] ailancorp [dot] com">Brad Buchanan</a> 2010/03/26</em> </p> <blockquote><div class="no"> (long since) fixed. — <a href="https://forum.dokuwiki.org/u/ChrisS" class="interwiki iw_user" title="https://forum.dokuwiki.org/u/ChrisS">ChrisS</a> <em>2013/12/18 17:00</em></div></blockquote> <blockquote><div class="no"> I found that the link to the demonstration site was broken today <a href="mailto:tony%20%5Bdot%5D%20james%20%5Bat%5D%20etas%20%5Bdot%5D%20com" class="mail" title="tony [dot] james [at] etas [dot] com">Tony James</a> <em>2015/04/01 13:52</em></div></blockquote> </div> <div class="secedit editbutton_section editbutton_12"><form class="button btn_secedit" method="post" action="/template:sidebar"><div class="no"><input type="hidden" name="do" value="edit" /><input type="hidden" name="rev" value="1698703905" /><input type="hidden" name="summary" value="[Broken Link] " /><input type="hidden" name="target" value="section" /><input type="hidden" name="hid" value="broken_link" /><input type="hidden" name="codeblockOffset" value="3" /><input type="hidden" name="range" value="4906-" /><button type="submit" title="Broken Link">Edit</button></div></form></div><div class="footnotes"> <div class="fn"><sup><a href="#fnt__1" id="fn__1" class="fn_bot">1)</a></sup> <div class="content">remark</div></div> </div> <!-- wikipage stop --> </div> <div class="docInfo"><bdi>template/sidebar.txt</bdi> · Last modified: <time datetime="2023-10-30T23:11:45+0100">2023-10-30 23:11</time> by <bdi>Klap-in</bdi></div> <hr class="a11y" /> </div></main><!-- /content --> <!-- PAGE ACTIONS --> <nav id="dokuwiki__pagetools" aria-labelledby="dokuwiki__pagetools__heading"> <h3 class="a11y" id="dokuwiki__pagetools__heading">Page Tools</h3> <div class="tools"> <ul> <li class="edit"><a href="/template:sidebar?do=edit" title="Edit this page [e]" rel="nofollow" accesskey="e"><span>Edit this page</span><svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path d="M20.71 7.04c.39-.39.39-1.04 0-1.41l-2.34-2.34c-.37-.39-1.02-.39-1.41 0l-1.84 1.83 3.75 3.75M3 17.25V21h3.75L17.81 9.93l-3.75-3.75L3 17.25z"/></svg></a></li><li class="revs"><a href="/template:sidebar?do=revisions" title="Old revisions [o]" rel="nofollow" accesskey="o"><span>Old revisions</span><svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path d="M11 7v5.11l4.71 2.79.79-1.28-4-2.37V7m0-5C8.97 2 5.91 3.92 4.27 6.77L2 4.5V11h6.5L5.75 8.25C6.96 5.73 9.5 4 12.5 4a7.5 7.5 0 0 1 7.5 7.5 7.5 7.5 0 0 1-7.5 7.5c-3.27 0-6.03-2.09-7.06-5h-2.1c1.1 4.03 4.77 7 9.16 7 5.24 0 9.5-4.25 9.5-9.5A9.5 9.5 0 0 0 12.5 2z"/></svg></a></li><li class="backlink"><a href="/template:sidebar?do=backlink" title="Backlinks" rel="nofollow"><span>Backlinks</span><svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path d="M10.59 13.41c.41.39.41 1.03 0 1.42-.39.39-1.03.39-1.42 0a5.003 5.003 0 0 1 0-7.07l3.54-3.54a5.003 5.003 0 0 1 7.07 0 5.003 5.003 0 0 1 0 7.07l-1.49 1.49c.01-.82-.12-1.64-.4-2.42l.47-.48a2.982 2.982 0 0 0 0-4.24 2.982 2.982 0 0 0-4.24 0l-3.53 3.53a2.982 2.982 0 0 0 0 4.24m2.82-4.24c.39-.39 1.03-.39 1.42 0a5.003 5.003 0 0 1 0 7.07l-3.54 3.54a5.003 5.003 0 0 1-7.07 0 5.003 5.003 0 0 1 0-7.07l1.49-1.49c-.01.82.12 1.64.4 2.43l-.47.47a2.982 2.982 0 0 0 0 4.24 2.982 2.982 0 0 0 4.24 0l3.53-3.53a2.982 2.982 0 0 0 0-4.24.973.973 0 0 1 0-1.42z"/></svg></a></li><li class="top"><a href="#dokuwiki__top" title="Back to top [t]" rel="nofollow" accesskey="t"><span>Back to top</span><svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path d="M13 20h-2V8l-5.5 5.5-1.42-1.42L12 4.16l7.92 7.92-1.42 1.42L13 8v12z"/></svg></a></li> </ul> </div> </nav> </div><!-- /wrapper --> <!-- ********** FOOTER ********** --> <footer id="dokuwiki__footer"><div class="pad"> <div class="license">Except where otherwise noted, content on this wiki is licensed under the following license: <bdi><a href="https://creativecommons.org/licenses/by-sa/4.0/deed.en" rel="license" class="urlextern">CC Attribution-Share Alike 4.0 International</a></bdi></div> <div class="buttons"> <a href="https://creativecommons.org/licenses/by-sa/4.0/deed.en" rel="license"><img src="/lib/images/license/button/cc-by-sa.png" alt="CC Attribution-Share Alike 4.0 International" /></a> <a href="https://www.dokuwiki.org/donate" title="Donate" ><img src="/lib/tpl/dokuwiki/images/button-donate.gif" width="80" height="15" alt="Donate" /></a> <a href="https://php.net" title="Powered by PHP" ><img src="/lib/tpl/dokuwiki/images/button-php.gif" width="80" height="15" alt="Powered by PHP" /></a> <a href="//validator.w3.org/check/referer" title="Valid HTML5" ><img src="/lib/tpl/dokuwiki/images/button-html5.png" width="80" height="15" alt="Valid HTML5" /></a> <a href="//jigsaw.w3.org/css-validator/check/referer?profile=css3" title="Valid CSS" ><img src="/lib/tpl/dokuwiki/images/button-css.png" width="80" height="15" alt="Valid CSS" /></a> <a href="https://dokuwiki.org/" title="Driven by DokuWiki" ><img src="/lib/tpl/dokuwiki/images/button-dw.png" width="80" height="15" alt="Driven by DokuWiki" /></a> </div> <div style="margin-top: 2em; font-size:90%" class="dokuwiki"><div style="float:right"><a href="http://www.splitbrain.org/personal#imprint" style="float:right; text-decoration: none; color:#333">Imprint</a></div></div><!-- Include for DokuWiki site wide top bar --> <style type="text/css"> @media screen { body { padding-top: 30px; } #global__header { position: absolute; top: 0; left: 0; text-align: left; vertical-align: middle; line-height: 1.5; background-color: #333; box-shadow: 0 0 8px rgba(0,0,0,0.5); width: 100%; margin: 0; padding: 5px 20px; -moz-box-sizing: border-box; -webkit-box-sizing: border-box; box-sizing: border-box; white-space: nowrap; overflow: hidden; } #global__header h2 { position: absolute; left: -99999em; top: 0; overflow: hidden; display: inline; } #global__header ul, #global__header li { margin: 0; padding: 0; list-style: none; display: inline; line-height: 1.5; } #global__header a { color: #bbb; text-decoration: none; margin-right: 20px; font-size: 14px; font-weight: normal; } #global__header a:hover, #global__header a:active, #global__header a:focus { color: #fff; text-decoration: underline; } #global__header form { float: right; margin: 0 0 0 20px; } #global__header input { background-color: #333; background-image: none; border: 1px solid #bbb; color: #fff; box-shadow: none; border-radius: 2px; margin: 0; line-height: normal; padding: 1px 0 1px 0; height: auto; } #global__header input.button { border: none; color: #bbb; } #global__header input.button:hover, #global__header input.button:active, #global__header input.button:focus { color: #fff; text-decoration: underline; } } /* /@media */ @media only screen and (min-width: 601px) { /* changes specific for www.dokuwiki.org */ #dokuwiki__header { padding-top: 3em; } #dokuwiki__usertools { top: 3em; } /* changes specific for bugs.dokuwiki.org */ div#container div#showtask { top: 40px; } } /* /@media */ @media only screen and (max-width: 600px) { body { padding-top: 0; } #global__header { position: static; white-space: normal; overflow: auto; } #global__header form { float: none; display: block; margin: 0 0 .4em; } } /* /@media */ @media print { #global__header { display: none; } } /* /@media */ </style> <div id="global__header"> <h2>Global DokuWiki Links</h2> <form method="get" action="https://search.dokuwiki.org/" target="_top"> <input type="text" name="q" title="Search all DokuWiki sites at once" class="input" /> <input type="submit" title="Search all DokuWiki sites at once" value="Search" class="button" /> </form> <ul> <li><a href="https://download.dokuwiki.org" title="Download the latest release" target="_top">Download</a></li> <li><a href="https://www.dokuwiki.org" title="Read the DokuWiki documentation" target="_top">Wiki</a></li> <li><a href="https://forum.dokuwiki.org" title="Ask questions in the DokuWiki forum" target="_top">Forum</a></li> <li><a href="https://irc.dokuwiki.org" title="Check IRC chat logs or join the chat" target="_top">IRC</a></li> <li><a href="https://github.com/splitbrain/dokuwiki/issues" title="Report and track bugs" target="_top">Bugs</a></li> <li><a href="https://translate.dokuwiki.org/" title="Help translating the DokuWiki interface" target="_top">Translate</a></li> <li><a href="https://github.com/splitbrain/dokuwiki" title="Access the most recent git commits" target="_top">Git</a></li> <li><a href="https://xref.dokuwiki.org/reference/dokuwiki/" title="Cross-Reference of the DokuWiki source code" target="_top">XRef</a></li> <li><a href="https://codesearch.dokuwiki.org/" title="Search through the sources of DokuWiki, plugins and templates" target="_top">Code Search</a></li> </ul> </div> <!-- end of DokuWiki top bar include --> </div></footer><!-- /footer --> </div></div><!-- /site --> <div class="no"><img src="/lib/exe/taskrunner.php?id=template%3Asidebar&amp;1746446541" width="2" height="1" alt="" /></div> <div id="screen__mode" class="no"></div></body> </html>

Pages: 1 2 3 4 5 6 7 8 9 10