Hello People,
A repost since nobody noticed the previous one ;) I have a problem with
attachments they end up in the database without a filename. Anybody a clue?
This is the form that uploads the file:
<FORM action="post.jsp" method="post" enctype="multipart/form-data">
<mm:fieldlist nodetype="attachments" fields="handle">
<mm:fieldinfo type="input"/>
</mm:fieldlist>
<input class="knop" type="submit" name="submit" value="Opslaan"/>
I did remove all other input fields and text.
The input is after that processed in this code:
<mm:createnode type="attachments" id="linkje">
<mm:fieldlist type="all" >
<mm:fieldinfo type="useinput" />
</mm:fieldlist>
<mm:setfield name="title"><mm:write referid="naam"/></mm:setfield>
<mm:setfield name="description"><mm:write
referid="beschrijving"/></mm:setfield>
</mm:createnode>
Greetings,
Sjoerd de Heer