The tagentry plugin displays a set of tag-name checkboxes just below the edit form and automatically adds or modifies {{tag>}} in the wiki-text using JavaScript when a checkbox is activated.
see http://mir.dnsalias.com/wiki/tagentry for further information.
Download and install the plugin using the Plugin Manager using the following URL. Refer to Plugins on how to install plugins manually.
| Download (latest version) | http://mir.dnsalias.com/_media/oss/dokutagentry/tagentry.zip |
|---|
When we use {{topic>}} syntax with ”+” or ”-” before tags in order to select results, labels of checkboxes appears with this ”+” or ”-”, as if they were part of the tag (although this is not the case). I suppose it is because of {{topic>}} accept parameters in its syntax. — Ner0lph 2010-02-11 16:59 (Europe/Paris timezone)
Just like the plugin was no more active in the edit page.
Had the same problem… Here is a quick and dirty fix; someone with more experience can probably provide a better solution. Inlib/plugins/tagentry/action.phpcomment out the following in the functionhandle_editform_output:
if ( !empty($event->data->_hidden['prefix'])
|| !empty($event->data->_hidden['suffix'])) return;
if ($event->data->findElementByType('wikitext')===false) return
tmul - 2010-11-18
Thanks, the fix worked for me, using Anteater. If I experience any inconvenience, I'll post them.
2011-03-23
Thanks tmul.
This fix worked also for me with the “Rincewind” release.
BidiX - 2011-06-14
it doesn't work with Opera — tested with 9.64
JavaScript is enabled and other scripts (e.g. show/hide contents) is working
Phi - 2010/08/25
Good plugin as far as I have used it. But the screen formatting was not very exciting.
The very simple / basic modification below is done in order to get a better formatting of the XML tables of tags:
Around line 250 inaction.phpof the plugin replace the three following lines:
$rv.='<div class="'.$options['class'].'">'; $rv.=' <div><label>'.$this->getLang('assign').'</label></div>'; $rv.=' <div class="taglist"'.$dstyle.'>';
with the following
$rv.='<div class="'.$options['class'].'">'; if (!$options['tagboxtable']) $rv.=' <div><label>'.$this->getLang('assign').'</label></div>'; $rv.=' <div><label> </label></div>'; $rv.=' <div class="taglist"'.$dstyle.'>'; if ($options['tagboxtable']) { $rv.='<table>'; $rv.='<thead><tr>'; $i=0; $ls=0; $lsmax=0; natcasesort($alltags); foreach ($alltags as $t) { if (is_array($options['blacklist']) && $this->_in_casearray($t, $options['blacklist'])) continue; $i++; $ls = strlen($t); if ($ls > $lsmax) $lsmax=$ls; } For ($j=1;$j<=$options['tablerowcnt'];$j++) { $rv.='<th>'; if ($j == 1) $rv.="Liste des tags ".str_repeat(" ",$lsmax-8); if ($j > 1) $rv.=str_repeat("_",$lsmax+1); $rv.='</th>'; } $rv.='</tr></thead>'; $rv.='<tbody><tr>'; } else { $rv.=' <div>'; }
Note: The title Liste des tags is in french but can be changed by whatever you want. Take care to use the   “no-break space” characters to replace your space characters in the title.
I tried this edit, but my website wouldn't load when I made the change. Once I reverted back to the original code, my website ran normally. -JC