This is the page to talk about Tagger.

Hello Kathryn, I was using with pleasure Tagger (and Cluster) in localhost, but now I'm updating everything in PHP 5.5 and I am not able to update the recipes by myself.

May I ask you, when and if you have time to do it?

Thanks in advance. - Frank - May 15, 2014, at 2:59 PM

I don't have time to do it at the moment, nor in the forseeable future. Kathryn Andersen May 15, 2014, at 09:04 PM

Thanks for the fast and accurate response. I'll try to ask for help in PITS. - Frank - May 15, 2014, at 9:53 PM

Little display bug found

Using this (great) tagger repice, some strange html tag like: <pre> </pre> (note the space character between both tags) appears in my html code causing some large unvisible margin.


Change line n°98 of TaggerLinks function in taggers.php:
$out .= "$postfix\n";
$out .= "$postfix";

An updated version (2011-07-29) take care of this.

Antony Templier July 29, 2011, at 11:53 AM

Hi Kathryn ! I'm testing your tagger script and have a question : how is it possible make this script work while keeping a typographic space following the colon as we can do with PTV (author: Name) so, using tagger we could automatically get something such as :
author: [[Authors/Fred Nurk]]
instead of
author:[[Authors/Fred Nurk]] ?
I tried different ways and didn't succeed in getting a space after colon --to get it before, I use a tag followed by a space--.
By the way, on your personal pages, what sort of magic do you use to align your tags ? Thank you. gb February 11, 2010, at 02:42 PM

The answer to both questions is the same, actually: I use hidden PTVs and display templates.

On the page itself:
(:Author:Fred Nurk:)

Another page in that group, called, say, DisplayTemplate:

(note that that is a table, thus the results are aligned)

And in the GroupHeader page for that group:
(:if !equal "{*$:Author}" "" :)
(:include base={*$FullName} {$Group}.DisplayTemplate:)

This test ensures that the template is only used when there is content for it to display.

Kathryn Andersen

Would it be possible to make the groups list in pmwiki page instead of config.php?
Let's say in Site/TaggerGroups ?

  • group1
  • group2


If someone else writes a patch to make it an option, I might consider adding it. I'm certainly not going to disable setting the data in config.php, because that's what I use myself, and I use conditions to change the tagger groups depending what the current group(prefix) is. I don't want to lose that functionality.
Since I wouldn't be using a Site/TaggerGroups page for myself, I would be more comfortable if the person who wrote that functionality was going to be using it themselves.
Kathryn Andersen August 19, 2009, at 12:04 AM

Talk page for the Tagger recipe (users?).