[pmwiki-users] use pagelist results in function
Patrick R. Michaud
pmichaud at pobox.com
Sun May 26 18:55:44 CDT 2013
I think you're looking for the MakePageList() function (in pagelist.php),
which will generate a list of pages according to the arguments
You should be able to call it from a function to generate
a list of pages you're looking for.
Note that it should also be possible to use a pagelist
template to do what you're wanting to do (although it
might not be as efficient as a custom function).
On Sun, May 26, 2013 at 04:36:34PM -0700, Mark Lee wrote:
> I guess I can make a copy of the pagelist script and add any feature I
> want. I think I will explore that next.
> On Sun, May 26, 2013 at 7:38 AM, Mark Lee <mark.lee.phd at gmail.com> wrote:
> > How can I use the results of (:pagelist ...:) in a function? I a PTV in
> > some pages in a group that holds a number. such as (:size x=10:). I want to
> > generate a line of html for each page found if the value is in a range. I
> > can display the values in a table using pagelist, but I have other ideas
> > than just making a table.
> > -Mark
> pmwiki-users mailing list
> pmwiki-users at pmichaud.com
More information about the pmwiki-users