Add a new variable instance to the Dream background

Source: Internet
Author: User

Intermediary transaction http://www.aliyun.com/zixun/aggregation/6858.html ">seo diagnose Taobao guest cloud host technology Hall

Add a new variable instance to the Dream background

The Dream website Management system is famous for its easy to use and strong development capability of two times. Today brings to you the use of weaving dreams for simple two development of small cases------in the dream background to add a new variable instance.

With this example, we can simply understand the use of dream weaving for a simple two-time development approach. The purpose of this example is in the Dream site to add webmaster information, such as webmaster QQ, webmaster email, webmaster motto and so on. Through our simple two times development, we can achieve in the dream background to complete the relevant information settings. The specific steps are as follows:

1. Add a new variable.

Into the dream background, find the "System" menu-"system basic parameters."

The "Add new variable" link can be found at the top right of the right window of the dream. The following figure:

  

Enter the new variable information, where the variable name input "QQ", the value of the variable blank, parameter description for: Webmaster QQ, belong to the group "Site Settings." When you are finished, click on the "Save Variable" button, as shown below.

  

After the new variable is added, the new variable just added will appear at the bottom of the right window of the dream, as shown in the following figure:

  

In this way, you can set the webmaster QQ number in the background of weaving dream.

Note: The same method can be used to add other variables related to webmaster information. such as webmaster email, webmaster motto and so on.

2, in the Dream template to add related tags:

For example, if we want to add webmaster QQ to the bottom of the dream site. We can modify the Dream template file/templets/default/footer.htm.

Add a new label to the template file: {Dede:global. qq/}

Note: The general format of the new variable label is: {dede:global. New variable Name/}

3. Create Dream website homepage

Dreaming in the background select: Build-Update home page HTML.

In the dream background to add webmaster related information has been introduced. It can be seen from this example that it is quite convenient to use the two-time development of dream weaving. It is also a powerful place to weave dreams. If you have any dream two development problems, please contact Easy Design Website Construction Studio official, original address: http://www.iesheji.com/News/news_278.html. Reprint this article please keep love easy to design the original link.

Related Article

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.