> The good manual says :
> "
> Articles can be sorted. sort parameter can be one of: "alpha", "reverse
> alpha", "name", "reverse name", "score", "reverse score", "created".
> Default sort is the created date.
> "
Which url? this is out of date.
That is what I found too....I thought I had an answer ( and I was feeling
pretty good about being a positive helper guy) because I had gotten
something similar to work...but then I found the ref...here...
http://www.midgard-project.org/manual/function.list-topic-articles.html
and I thought I wasn't so smart after all....
kp
-----Original Message-----
From: Emiliano [SMTP:[EMAIL PROTECTED]]
Sent: Monday, February 07, 2000 12:07 PM
To: [EMAIL PROTECTED]
Subject: Re: [midgard] How to sort my news array ?
On Mon, 7 Feb 2000, Michael Ed wrote:
> $article = mgd_list_topic_articles_all(99);
>
> What about modification date ???
> Is that possible ???
Yep. try "revised" or "reverse revised".
> The good manual says :
> "
> Articles can be sorted. sort parameter can be one of: "alpha", "reverse
> alpha", "name", "reverse name", "score", "reverse score", "created".
> Default sort is the created date.
> "
Which url? this is out of date.
> And I also found this :
> "
> date
>
> The last modification date, format is 'd.m.Y'. e.g.: 27.07.1999
>
> adate
>
> The last modification date, format is 'D b. Y'.
>
> aldate
>
> The last modification date, format is 'D M Y'
> "
>
> Am I confused or just confused ?
Same date, multiple formats. You can also use $article->revised
(which is in unix timestamp format) and use PHP time formatting
functions.
emile
--
This is The Midgard Project's mailing list. For more information,
please visit the project's web site at http://www.midgard-project.org
To unsubscribe the list, send an empty email message to address
[EMAIL PROTECTED]
--
This is The Midgard Project's mailing list. For more information,
please visit the project's web site at http://www.midgard-project.org
To unsubscribe the list, send an empty email message to address
[EMAIL PROTECTED]