[pmwiki-users] Another feature for pagelist code

Patrick R. Michaud pmichaud at pobox.com
Thu Aug 31 11:51:19 CDT 2006

On Thu, Aug 31, 2006 at 12:37:53PM -0400, The Editor wrote:
> Pm, while you are working on the pagelist code (really excited!) is it
> possible you could add one other feature I have found invaluable.
> The PageListExtension adds many nice features, but one stands out:
> being able to define values and insert them into the pagelist
> template.
> In Martin's recipe, you can create a pagelist like:
> (:pagelist Variable="Value"... :)
> And then use the following in the pagelist template
> [[#fmt]]
> * {$$Variable}: [[{=$FullName}]]
> [[#fmtend]]
> Or whatever.  I have used this countless times to enable me to reuse
> the same pagelist template in diverse ways by simply inserting a
> parameter of my choice into the pagelist directive.
> Could this be added to the core while your are working on this?

I'll look into it.  If it doesn't end up in the core, it'll
certainly be possible as a recipe.  It may very likely end up being

   (:pagelist Variable="value" fmt=#fmt ... :)

   * {$OPT_Variable}: [[{=$FullName}]]


More information about the pmwiki-users mailing list