[Zope] Getting a date into an object title

complaw@hal-pc.org complaw@hal-pc.org
Fri, 30 Mar 2001 17:42:29 GMT


I want to put a date value into a DTML Document title so that when the DTML 
Documents are sorted by their title, they will automatically be sorted by date. 
 (Incidentally, the title also has some other non-date information.)

I've tried various schemes and they don't work.  I'm using the Zope book 
template for creating the DTML Documents (which are loaded by the users who 
don't have manage access).  This means that I have a form to gether information 
(including the contact date, which is transmitted from the form as 
"contact_date").  The form calls an DTML method that calls a Python script 
which creates the DTML Document.

Any hints, either in DTML or for the Python script, would be most appreciated.

Thanks,

Ron