Sophie

Sophie

distrib > Mageia > 7 > armv7hl > media > core-release > by-pkgid > d8544620e4ac7bee48ddb48c85d55709 > files > 225

ikiwiki-3.20190228-1.mga7.noarch.rpm

<!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>&lt;TMPL_IF NAME="ADDTAG"&gt;
&lt;a class="toggle" href="#addtag"&gt;Tags&lt;/a&gt;
&lt;TMPL_VAR ADDTAG&gt;
&lt;span class="addtag"&gt;
&lt;div class="toggleable" id="addtag"&gt;
&lt;em&gt;
Enable Javascript to add tags by simply clicking on them.
&lt;/em&gt;
&lt;/div&gt;
&lt;/span&gt;
&lt;/TMPL_IF&gt;
</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>