<!DOCTYPE html> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title>addtag (third party plugin)</title> <meta name="viewport" content="width=device-width, initial-scale=1" /> <link rel="stylesheet" href="../../style.css" type="text/css" /> <link rel="stylesheet" href="../../local.css" type="text/css" /> <meta name="author" content="spalax" /> </head> <body> <div class="page"> <div class="pageheader"> <div class="header"> <span> <span class="parentlinks"> <a href="../../index.html">ikiwiki</a>/ <a href="../../plugins.html">plugins</a>/ <a href="../contrib.html">contrib</a>/ </span> <span class="title"> addtag (third party plugin) </span> </span> </div> </div> <div id="pagebody"> <div id="content" role="main"> <p><span class="infobox"> Plugin: addtag<br /> Author: <span class="createlink">Louis</span><br /> Included in ikiwiki: no<br /> Enabled by default: no<br /> Included in <a href="../goodstuff.html">goodstuff</a>: no<br /> Currently enabled: no<br /> </span></p> <h1>Addtag</h1> <p>This plugin adds links in the edit page to tag pages by clicking on tag links (instead of manually typing the tag directive).</p> <h2>Template</h2> <p>The editpage template has to be modified to enable this: the following code has to be inserted where you want this feature to appear (right after the attachment link seems a good place).</p> <p><a class="toggle" href="#plugins-contrib-addtag.template">Template</a></p> <div class="toggleable" id="plugins-contrib-addtag.template"> <pre><code><TMPL_IF NAME="ADDTAG"> <a class="toggle" href="#addtag">Tags</a> <TMPL_VAR ADDTAG> <span class="addtag"> <div class="toggleable" id="addtag"> <em> Enable Javascript to add tags by simply clicking on them. </em> </div> </span> </TMPL_IF> </code></pre> </div> <h2>CSS</h2> <p>I think that in this case, the tag list looks nicer as columns. To do so, add the following code to your CSS.</p> <p><a class="toggle" href="#plugins-contrib-addtag.css">CSS</a></p> <div class="toggleable" id="plugins-contrib-addtag.css"> <pre><code>.addtag:after { clear: both; content:"."; display:block; height:0; visibility:hidden; } .addtag ul{ margin: auto; padding: 0; } .addtag ul li { list-style: none; float: left; margin-left: 1.5em; } .addtag ul ul{ margin: 0; padding: 0; } .addtag ul ul li { clear: left; list-style-type: disc; } .addtag ul ul ul li { list-style-type: circle; } </code></pre> </div> <h2>Code</h2> <p>Code and documentation can be found here : <a href="https://atelier.gresille.org/projects/gresille-ikiwiki/wiki/Addtag">https://atelier.gresille.org/projects/gresille-ikiwiki/wiki/Addtag</a>.</p> </div> </div> <div id="footer" class="pagefooter" role="contentinfo"> <div id="pageinfo"> <div class="tags"> Tags: <a href="../type/widget.html" rel="tag">type/widget</a> </div> <div class="pagedate"> Last edited <span class="date">Tue Feb 26 23:01:54 2019</span> <!-- Created <span class="date">Tue Feb 26 23:01:54 2019</span> --> </div> </div> <!-- from ikiwiki --> </div> </div> <script src="../../ikiwiki/ikiwiki.js" type="text/javascript" charset="utf-8"></script> <script src="../../ikiwiki/toggle.js" type="text/javascript" charset="utf-8"></script> </body> </html>