[Zope-CMF] Microsoft Word, Excel and Powerpoint with CMF

Luca Olivetti luca@wetron.es
Sun, 05 May 2002 15:52:07 +0200


This is a multi-part message in MIME format.
--------------030807080007090307000701
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit

[please keep this on the list, someone else can benefit from this]

Sion Morris wrote:
> Hi,
> 
> The problem I have experienced with NuxDocument revolves around the 
> 'NuxDocument_edit_form'. Here is the communication with the author...

Oh yes, I had a problem with that too but I since forgot. Anyway I 
rewrote that using page templates and removing localizer tags.
Attached you'll find my version (in the skin/Nuxdocument delete or 
rename NuxDocument_edit_form.dtml and save this one as 
NuxDocument_edit_form.pt). You'll have to localize it by yourself though.

Bye

-- 
Luca Olivetti

--------------030807080007090307000701
Content-Type: text/html;
 name="NuxDocument_edit_form.pt"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline;
 filename="NuxDocument_edit_form.pt"

<html xmlns:tal="http://xml.zope.org/namespaces/tal"
      xmlns:metal="http://xml.zope.org/namespaces/metal"
      metal:use-macro="here/main_template/macros/master">
<body>

<div metal:fill-slot="main">

<div class="Desktop">
 
<div class="Document">

<h2>Edit <span tal:replace="here/id">id</span></h2>
 
<form action="NuxDocument_edit" method="post" enctype="multipart/form-data">

<table class="FormLayout">
 <tr>
  <th>
    Title
  </th>
  <td tal:content="here/Title">
    Title
  </td>
 </tr>
 
 <tr>
  <th>
    Description
  </th>
  <td tal:content="here/description">
    Description
  </td>
 </tr>
 
 <tr>
  <th>
    Send file
  </th>
  <td>
   <input type="file" name="file" size="25">
  </td>
 </tr>
 
 <tr>
  <td> <br> </td>
  <td>
    <input type="submit" value="Save">
  </td>
 </tr>
</table>
</form>
 
</div>
 
</div>
</div>
</body>
</html>


--------------030807080007090307000701--