Welcome to Squishdot Websites Squishdot How-To
 about
 search
 post article
 Documentation
 Mailing Lists
 Bug Tracking
 Development
 Installation
 Upgrading
 Download
 admin
 rdf

 main


index_html grouping of listed articles by date
How-To Posted by Thomas on Friday April 20, 10:26PM, 2001
from the s-m-t-t-w-f-s dept.
grouping-by-day function for index_html required

Hi there everyone,
i want to group the "lead summary"-list of the articles on the index_html page like this:

saturday, april 21
-----------------------
11:34 [Here goes Title+Summary 1]

friday, april 20
-----------------------
21:20 [Here goes Title+Summary 2]
08:31 [Here goes Title+Summary 3]

(blahblahblah...)

i guess, i have to get the day from "date_posted" then store that somehow and compare for each posting in the loop -- but i'm new to dtml and don't know how to do that... anyone help me out with this...?

thomas














<  |  >

 

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

    Re: index_html grouping of listed articles by date
    by Chris Withers on Sunday April 29, 06:32PM, 2001

    You'd probably be better off learning about ZCatalog searches ;-)

    Look here as Squishdot behaves a lot like a ZCatalog.

    [ Reply to this ]
    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.