[pmwiki-users] pagelist articles order by authors

Patrick R. Michaud pmichaud at pobox.com
Mon Oct 23 10:56:01 CDT 2006


On Mon, Oct 23, 2006 at 05:36:32PM +0200, Florian Fischer wrote:
> 
> -------- Original-Nachricht --------
> Datum: Mon, 23 Oct 2006 10:21:08 -0500
> Von: "Patrick R. Michaud" <pmichaud at pobox.com>
> An: Florian Fischer <Flori-Fischer at gmx.net>
> Betreff: Re: [pmwiki-users] pagelist articles order by authors
> 
> > On Mon, Oct 23, 2006 at 02:36:16PM +0200, Florian Fischer wrote:
> > > hello,
> > > 
> > > i have just a short and probably short question. I'd like to create 
> > > a list of all articles within a group ordered by their authors. 
> > > How can i do this?
> > 
> > Do you mean you want to have a list of articles ordered by
> > the last contributor?  (PmWiki doesn't have a notion of
> > "primary authorship" for pages.)
> > 
> > For last contributor, use
> > 
> >     (:pagelist order=group,$LastModifiedBy :)
> > 
> > which will order the pages by group, and within the group by
> > the author performing the last modification on each page.
> > 
> > Pm
> 
> I would like to have a list like this:
> 
> User1
>     article1
>     article2
>     ....
> 
> User2
>     ...
> I thinkt this has to solved by a new format for the pagelist. 

    (:pagelist order=$LastModifiedBy fmt=#byauthor:)

    [[#byauthor]]
    (:if ! equal {<$LastModifiedBy} {=$LastModifiedBy} :)
    {=$LastModifiedBy}
    (:if:)
    -> [[{=$FullName}]]
    [[#byauthorend]]

Pm




More information about the pmwiki-users mailing list