[pmwiki-users] pagelist sort by date not time

The Editor editor at fast.st
Wed Sep 27 09:39:57 CDT 2006


On 9/27/06, Patrick R. Michaud <pmichaud at pobox.com> wrote:
> On Wed, Sep 27, 2006 at 09:50:58AM -0400, The Editor wrote:
> > On 9/27/06, Henrik Bechmann <henrik.bechmann at sympatico.ca> wrote:
> > > BTW, if you do $LastModifiedDate, you might also consider $CreatedDate,
> > > though of course the latter wouldn't be used as much.
> > >
> > > ...and have I mentioned $CreatedBy for symmetry? <g,d&r>
> > >
> >
> > Personally, I think CreatedData and CreatedBy would also make good
> > candidates for core.  They are very useful for things like forum posts
> > where you may want to list by the original poster and by the last
> > modifier.  But the "created by" would have to have a special line
> > added to the page format, right?
>
> Correct, PmWiki currently does not have a notion of "page creator"
> or "first author".
>
> > And as for moment by moment granularity, can't an admin set up a
> > custom pagevariable for these kinds of features if he wanted them,
> > since the time and ctime lines are both saved as timestamps?
>
> Yes, my first response in this thread demonstrates how it can be
> done -- just change the strftime granularity to whatever is
> desired.
>
> Pm

That's what I thought. I'd like having a firstauthor line considered
for being added to the core, or at least a core config option to add
it. And if so, the created date should also become core with it. I
could for example, use this to do a pagelist of all the recipes first
submitted by Pm!

Cheers
Caveman.




More information about the pmwiki-users mailing list