00068: DTindex.php no longer works

Summary: DTindex.php no longer works
Created: 2004-10-03 14:56
Status: Closed - added to 2.0 cookbook
Category: Cookbook Bug
From: PRZ
Assigned:
Priority: 3
Version: 2.0.Devel11
OS:

Description: The cookbook recipe for an index : http://www.pmwiki.org/wiki/Cookbook/IndexTemplate no longer works

Replacing the call markup function

  SDV($InlineReplacements['/\\[\\[\\$Index\\]\\]/e'], "DTIndexAll()");

by the line

  Markup('Index','>if',"/\\[:Index:\\]/e", "DTIndexAll()");

does work, but that create a whole bunch of errors, so the internals of this program shall be reworked.


Really, though, this ought to be implemented as an option to the [:pagelist:] directive rather than a standalone markup. Ideally it should be [:pagelist fmt=dtindex:] or something like that. Maybe I can put together a quick example or something. --Pm


Closed. Done as [:pagelist fmt=dictindex:]. See Cookbook.DictIndex