[Pmwiki-users] pagelist markup feature request
Patrick R. Michaud
Fri Dec 10 20:18:15 CST 2004
On Fri, Dec 10, 2004 at 06:16:01PM -0500, Neil Herber wrote:
> The pagelist markup is fantastic:
> (:pagelist group=xxx fmt=yyy list=zzz:)
> Could it be made even better by adding another "fmt"?
> Call it "fmt=pageonly" (or some better name) and have the output be only
> the page names of the group.
By default fmt=simple almost does what you want--it displays a bullet list
of pages but displays the group name in each. But you can redefine
fmt=simple to display only the page's names (w/o group names) by placing
the following in config.php:
$FPLSimpleIFmt = "<li><a href='\$PageUrl'>\$Name</a></li>";
Then (:pagelist group=xxx fmt=simple:) will do what you want.
And yes, it's possible to plug in entirely custom fmt= functions, but
in this case it's probably easier to just configure fmt=simple. :-)
More information about the pmwiki-users