[pmwiki-users] Credit managment

Patrick R. Michaud pmichaud at pobox.com
Wed Jun 1 09:07:35 CDT 2005


On Tue, May 31, 2005 at 10:27:08PM -0700, Menachem Shapiro wrote:
> I ended up using:
> $RecentChangesFmt['Main.Credits'] = '* $AuthorLink -- $Group.$Name --
> $CurrentTime';
> 
> so that the whole line is the unique string.
> 
> It looks like it works alright, exept for one thing:
> http://otterprojectonline.info/pmwiki/Main/Credits
> 
> As you can see from the link above, it puts the newest change last on
> the page. I don't really mind it that way, but earlier you (PM) said,
> "This will create a page called "Main.Credits" that has author names
> added each time a post is made.  In addition, the most recent authors
> will always appear at the top of the page."
> 
> Did I do something wrong?

Oh, sorry about that.  PmWiki also uses the two spaces to figure out
where the first entry is on the page, so you probably want:

    $RecentChangesFmt['Main.Credits'] = 
      '* $AuthorLink -- $Group.$Name -- $CurrentTime  ';

Note the two spaces at the end of the string.

Pm



More information about the pmwiki-users mailing list