Alriiighty. What i'm wanting to do is to put up a 'news' table for the side of my page -- think, www.zope.org -- 'News'? :)
 
    The way I have it set up is a News/ subfolder, with an Items/ folder beneath it that has a group of dtml documents in the format of YY-MM-DD.SS, with a title that describes what the news is about. SS is a serial number, btw, in case there's more then one news in a day.
 
   Now, the News/content_html method should basically build a list, and transform the id into "MM/DD/20YY (#SS) title". How do I do that? :) Being a zope-newbie, I tried the following:
---------------
<ul>
  <dtml-in expr="Items.objectValues()">
    <li><dtml-eval>
      anchor_text = ":%s:%s/%s/20%s (#%s) %s" % ( id,id[3:5], id[6:8], id[0:2], id[-2:], title)
</dtml-eval><dtml-var anchor_text>
  </dtml-in>
</ul>
----------
...except id is apparently not a string, nor something sliceable... what do I dooo? :)
 
Thanks in advance!
 
--Stephen
 

 
 
http://www.myseraph.org/