[pmwiki-devel] Idea: Make the search results list categories of each matching page

Crisses crisses at kinhost.org
Sun Dec 24 10:35:22 CST 2006


On Dec 23, 2006, at 5:08 PM, christian.ridderstrom at gmail.com wrote:

> While talking to a friend this evening over bears, we had the idea  
> that it could be useful if the default search results displayed the  
> categories each matching page belongs to.

This is already possible on any page you do something like this:

Categories: [[!bears]] [[!ursus]] [[!fish eaters]]


Then create a new fmt= recipe that includes something like:

*{=$BaseName}
-->{=$BaseName}$:Categories

or maybe

*{=$BaseName} ({=$BaseName}$:Categories)

as part of the pagelist format loop.

:)

Crisses



More information about the pmwiki-devel mailing list