Hi.
I need to have more than one category-group, so I found the Tagger recipe.

I read this: http://www.pmwiki.org/wiki/Cookbook/Tagger
then I read this:
http://www.mail-archive.com/pmwiki-users@pmichaud.com/msg16033.html

...but I could not get what I got with one "Category" group using the
[[!Topic]] syntax.

I did so: first, I put this in local.config:

$TaggerGroups['Autore']='Tag-Autore';
$TaggerGroups['Conferenza']='Tag-Conferenza';
$TaggerGroups['Articolo']='Tag-Articolo';
include_once("$FarmD/cookbook/tagger.php");

$AutoCreate['/^Tag-Conferenza\\./'] = array('ctime' => $Now, 'text' =>
$page['text']);
$AutoCreate['/^Tag-Articolo\\./'] = array('ctime' => $Now, 'text' =>
$page['text']);
$AutoCreate['/^Tag-Autore\\./'] = array('ctime' => $Now, 'text' =>
$page['text']);


So, in a page (for example this one:
http://www.cicap.org/lombardia/wiki/pmwiki.php/PortfolioConferenze/AstrologiaEAstronomia),
I put at the end:

Autore:Valerio
Conferenza:Astronomia,Astrologia

or, (making it invisible):

(:Autore:Valerio:)
(:Conferenza:Astronomia,Astrologia:)

And, after that, I'm hanged.
I need to:

1- Get a list of all categories under "Conferenza" (in that case, the "tags"
Astronomia, Astrologia), or all categories under "Autore" (e.g. "Valerio")
2- Given a specific group-and-category (e.g. "Conferenza:Astronomia"), get a
list of all pages with "Conferenza:Astronomia").
3- Make the category-pages be auto-created: I put the code you can see
above, but NO auto-creation is done.

I tried using the tricks in http://www.pmwiki.org/wiki/Cookbook/Tagger-Talk,
but I got nothing...
Can someone help me in the three points above?

-- 
Francesco Sblendorio
http://fsblendorio.blogspot.com
http://www.sblendorio.eu
_______________________________________________
pmwiki-users mailing list
pmwiki-users@pmichaud.com
http://www.pmichaud.com/mailman/listinfo/pmwiki-users

Reply via email to