[pmwiki-users] Re: Search results: show page-titles

Patrick R. Michaud pmichaud at pobox.com
Mon Nov 21 16:42:57 CST 2005


On Mon, Nov 21, 2005 at 10:02:54PM +0100, Daniel Hofer wrote:
> Hello Romand
> 
> >Put this line to your config:
> >$FPLByGroupIFmt = "<dd><a href='\$PageUrl'>\$Title</a></dd>\n";
> 
> Where? to config.php?

Yes, to config.php.

Getting the search results to display titles instead of page names
is now a FAQ and probably needs to be in the FAQ.  :-)

But along these lines, I'm rapidly becoming a fan of the approach
that the PageListTemplates recipe is taking, although I'm
not sure I agree with the exact format of the {$...} markups
it's using.  But with some modifications it might become a core
candidate sometime in the very near future.

Pm




More information about the pmwiki-users mailing list