When we add the attachment Type field to the system content model, the foreground needs to be called with {Dede:field name= ' field name '/}.
For example, I post an article in the background, upload a zip attachment, the time content of the field is: '/uploads/soft/100602/1-100602212355.doc ', and the foreground shows the following content.
<table width=' -'><TR><TD height=' -'Width=' -'><a href='/uploads/soft/100602/1-100602212355.doc'target='_blank'></a></td><td><a href='/uploads/soft/100602/1-100602212355.doc'target='_blank'><u>/uploads/soft/100602/1-100602212355.zip</u></a></td></tr></table>
And I just want to call '/uploads/soft/100602/1-100602212355.doc ', what do I do?
Here's how to remove the extra table code:
1. Open File/templets/system/channel_addon.htm
2, the inside of the code are all deleted, only write ~link~ can.
Dede generates a table when the file is downloaded