<br>As suggested in <a href="http://www.pmwiki.org/wiki/PmWiki/PageFileFormat">http://www.pmwiki.org/wiki/PmWiki/PageFileFormat</a> , I generate PmWiki pages from external applications, in order to produce reports and other things while taking advantage of all the PmWki features.
<br><br>Everything works fine, except that I cannot get categories to work properly :<br><br>1) $CategoryGroup= 'ReportsCategories'; (in Reports.php)<br>2) ReportsCategories.GroupFooter contains "xxx (:pagelist link=ReportsCategories.{*$Name} list=normal:) yyy"
<br>3) I generate a page Reports.ReportNumber1, that contains [[!CategoryName1]]<br>4) I generate a page ReportsCategories.CategoryName1 (with the text line set to "text=")<br><br>When I read the page Reports.ReportNumber1
and then click on the link to CategoryName1, PmWiki loads the page and displays the ReportsCategories.GroupFooter,<br>but the pagelist remains empty.<br><br>If I then do some manual editing in the page, the pagelist works OK and shows the links to the page.
<br><br>I guess PmWiki must do some internal "indexing" when saving the pages, that is uses later on to retrieve the links to the pages efficiently.<br><br>Is this correct ?<br><br>If yes, can an action be used or a function be called to "re-index" so that the pagelists using link= work OK with pages generated externally ?
<br><br>Thank you in anticipation.<br><br>Christophe<br><br><br>