Renegade
Well-known member
How do I add the attachment editor? Seems the following is the code to add an attachment editor and it works fine while uploading images.
However when I edit the page I am not able to see (or manage) the previously added attachments. What am I doing wrong?
However when I edit the page I am not able to see (or manage) the previously added attachments. What am I doing wrong?
Code:
<dl class="ctrlUnit submitUnit center">
<dt>Product image:</dt>
<dd>
<xen:include template="attachment_upload_button" />
</dd>
</dl>
<xen:if is="{$attachmentParams}">
<dl class="ctrlUnit AttachedFilesUnit">
<dt><label for="ctrl_uploader">{xen:phrase attached_files}:</label></dt>
<dd><xen:include template="attachment_editor" /></dd>
</dl>
</xen:if>