Dede generates a table when the file is downloaded

Source: Internet
Author: User

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=' -'&GT;&LT;TR&GT;&LT;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/</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

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.