Welcome to Squishdot Websites Squishdot How-To Newbies
 post article
 Mailing Lists
 Bug Tracking


Sort messages by subject
How-To Posted by Matt on Thursday January 30, 08:05PM, 2003
from the I almost got it... dept.
I am trying to show the last message posted by each subject on the page and give a link to that message.

Here is the catch- I want to have the subjects listed dynamically, so If a new subject is added, the list will update by itself.
The result would looke like:

last message

last message


The problem I am having is showing each message sorted by the subject.

Here is what I have so far:
<dtml-in subjects_list>
<dtml-var sequence-item>
<dtml-in "this()(meta_type='Article', subject='???', sort_on='id', sort_order='reverse',internal=1)[0:1]">

What should I put for subject = ?
Any takers?

<  |  >


Related Links
  • Articles on How-To
  • Also by Matt
  • Contact author
  • The Fine Print: The following comments are owned by whoever posted them.
    ( Reply )

    Powered by Zope  Squishdot Powered
      "Any system that depends on reliability is unreliable." -- Nogg's Postulate
    All trademarks and copyrights on this page are owned by their respective companies. Comments are owned by the Poster. The Rest ©1999 Butch Landingin, ©2000-2002 Chris Withers.