[Zope] zpt link to file

Michael Bleijerveld michael at bleijerveld.nl
Mon Aug 11 10:44:45 EDT 2003


Hi,

The following statements are converted from DTML. Files are stored in a
Localfs object.

  <tr tal:repeat="files batch" >
    <td><input type="checkbox" name="ids:list" value="<dtml-var id>"></td>
    <td><a href="HOME_URL" tal:attributes="href here/user/id"
tal:content="files/id">HOME TITLE OR ID</a></td>
  </tr>

1) The link to the file doesn't work. Must I replace attributes with another
statement ?
2) I want to make user variable. How can I solve this ?

Regards.

Michael





More information about the Zope mailing list