Philipp Rotmann, Linksystem Muenchen wrote:

> I'd like to list articles by more different sorting criteria
> than provided by mgd_list_topic_articles*. Is it possible (how?)
> to write a php "wrapper" function that offers a similar
> functionality to mgd_list_topic_articles*, let's say, with
> sorting by calstart?

It's possible, but you won't be hearing me say it's pretty. List the
lot, stuff {sortkey -> ID) in a hash, sort hash, refetch the lot. And
I'm not sure PHP hashes handle duplicate keys, it may even have to be
{sortkey -> [ ID, ID, ...] }

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]

Reply via email to