Summary: pagelist directive incompatible with PublishPDF library
Created: 2007-10-01 17:04
Status: Closed, added in for 2.2.0 stable
Version: 2.1 and 2.2
Description: The function FPLTemplate in scripts/pagelist.php calls MarkupToHTML to process the markup instruction for how to format the results of a search. This is incompatible with the Cookbook.PublishPDF library, which teaches pmwiki to generate a different kind of xml output. The fix is to make the following change to scripts/pagelist.php in function FPLTemplate:
function FPLTemplate(... global $FPLMarkupFunction; ... SDV($FPLMarkupFunction, 'MarkupToHTML'); return ... $FPLMarkupFunction(
function FPLTemplate(... ... return ... MarkupToHTML(
This does not seem to produce any adverse side-effects and allows the PublishPDF library to redefine the MarkupToHTML function when processing a request to produce a pdf.