[pmwiki-users] [WikiForms] automatically list all wikiforms in different groups with (:wikilist:)

Hsing-Foo Wang hsingfoo at gmail.com
Thu Sep 7 01:45:47 CDT 2006

Hi John,

On 07 Sep 2006 14:21:14 +1200, John Rankin <john.rankin at affinity.co.nz> wrote:
> There are a couple of things to bear in mind:
> (:wikilist:) displays the name, not the full name, so if
> you have one list that combines several groups, there will
> be several lines referring to "00001".

Yup, that's true. I was thinking of ommiting this field in this
paticular combined listing and instead use the 'description' field. In
the combined listing, the number is not important.

> Um, did you know you can write (:wikilist group=Group1:)
> to generate a list of items from a different group? So
> just set up a page with
> (:wikilist group=Group1:)
> (:wikilist group=Group2:)
> and so on. This requires no new code.

Yes, but there are some cons to this for me;
1. Forms and groups are automatically created upon submitting a new
project. So to automatically generate a combined listing, the
mechanism needs to know what groups (projects) to inlcude
2. If there are 20 projects, I would get 20 seperate tables each
holding 2 to 5 issues, and each with a table header and header text
(select all)
> If you want to merge them into a single multi-group list,
> that will be more difficult. Because of the way it retrieves
> and sorts pages, I suspect you may have to scrap the wikilist
> code and start again. You'd have to wrap the whole thing
> in a 'for each group' loop and add a groupname to the front
> of every sort. Possible, but very messy.

Yeah, thought so. That was why, in the beginning of my project, I was
looking at other options of inluding wikiforms in wikiforms opposed to
using groups.
The problem is that on a per project base, I have the skeleton
pictured and sorta working, but from an management point of view, the
want an overview of all issues of all projects (incl sorting) and not
browse projects.

> You say "together on 1 page" so it depends whether you mean
> together = in the same list or together = on the same page.

For the human eye it they all should appear on the same page.


> --
> JR
> --
> John Rankin

More information about the pmwiki-users mailing list