Addition of WUZHICMS fields and implementation of download function

Source: Internet
Author: User

1. Adding fields

Publish Content-Column management-field management-add fields

650) this.width=650; "src=" Https://www.wuzhicms.com/uploadfile/2016/04/14/1460620186302246.png "style=" border:0px ; vertical-align:middle;width:572px;height:255px; "alt=" 1460620186302246.png "/>

The following settings are based on your needs.

You can then submit.

2, the implementation of the download function

Example Description:

Implementation of download function for Member Center related pages

function code location of the download function: coreframe/app/content/libs/function/content.func.php

When the core code path in the member center of the Member Center is Coreframe/app/member

To invoke the content method in index.php

Load_function (' content ', ' content ');

How to call in a static template file:

{Private_file ($r [' Down ')}}//down the field name for the field you are adding, the file you need to download must be in the/uploadfile file directory

Sometimes the field you add is a subordinate table segment. So you need to call the data for the primary and secondary tables, see the Table of Contents tab

Summary: Some of the other functions can be compared with this idea for analysis and add.


Addition of WUZHICMS fields and implementation of download function

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: info-contact@alibabacloud.com 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.