Dream System site homepage, list, article page and other page hits call method

Source: Internet
Author: User
As we all know by default, the DEDECMS system builds the website document page (article page, software page, etc.) calls the number of clicks, is dynamic, refreshes once, one more click. While the home page, channel pages, list pages, and so on using arclist or list to call the data, the update generated static HTML web file after the number of clicks is unchanged. This is the case because we use the number of clicks in the first way we call. 1, home page, channel pages, list pages, etc. using Arclist or list tags, call the number of clicks in a static way:

[field:click/]

2, home page, channel pages, list pages, etc. using Arclist or list tags, dynamic calls to the number of clicks:


Note: The 2nd way will affect the speed of site update generation

3, Weaving Dream article page click Number Call mode

Dede clicks have a tag {dede:field.click/}, but we will find that when we look at the article when the number of refresh it does not automatically change, I believe the reason everyone understand, is because we are browsing the static page generated by the Dede, the number of clicks will not change, So you want to see the effect click once change how to do it, you can call the following script


Dream System site homepage, list, article page and other page hits call method

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.