[pmwiki-users] PData support for pagelisting images

Martin Fick mogulguy at yahoo.com
Thu Sep 7 18:08:07 CDT 2006

--- Stirling Westrup <sti at pooq.com> wrote:

> If these theoretical new directives are going to
> have many (all?) of the
> same features as pagelists including the use of
> templates and such, then
> you may want to redefine the pagelist directive as a
> specialization of a
> more general directive. Maybe something such that
>   (:pagelist fmt=#myformat group=MyGroup
> list=normal:)
> is interpreted as a short form of saying:
>   (:datalist source=PmWiki fmt=#myformat
> group=MyGroup list=normal:)

or even:

 (:list source=pagelist fmt=#myformat group=MyGroup

...and even extend it so that the format can be on the
current page, directly below the diretive:

(:list source=pagelist group=MyGroup list=normal:)
format lines

The reason that simply referencing a format on the
current page cannot easily be done currently with
pagelist templates is because of the interference 
of conditionals that might be in the template and
the current rendering of the page (an artifact of
the fact that conditionals don't nest).
> and there would be other possible sources such as
> MySQL, or whatever.
> Naturally, one would want a consistent API so that
> the more enthusiastic
> of us could create recipes for new data sources such
> as LDAP, etc.



Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 

More information about the pmwiki-users mailing list