Get the App
SLTechnology News&Howtos  ›  Servers  › 

The DEDECMS homepage calls the static method of the address of the latest comments and comment links

Shulou Source: shulou.com Published: 2022-06-02 03:34:26 09月29日 Update

This article is about the static method of calling the latest comments and comment links on the home page of DEDECMS. The editor thought it was very practical, so I shared it with you as a reference. Let's follow the editor and have a look.

How does the DEDECMS home page call the latest comments and comment links to statically address?

The code for calling the latest comments is as follows:

{dede:feedback row='10'} [field:msg/] {/ dede:feedback}

The connection address of the comment, using the static connection of html:

The code is as follows:

[field:aid runphp='yes'] $arcRow = GetOneArchive (@ me); @ me = $arcRow ['arcurl']; [/ field:aid]

Replace the original [field:arcurl/]

Thank you for reading! On the DEDECMS home page to call the latest comments and comment link static method to share here, I hope the above content can be of some help to you, so that you can learn more knowledge. If you think the article is good, you can share it and let more people see it.

Tags: Comments addresses static links home pages methods code content more good practical articles read knowledge articles references help related Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno Shulou Tech Info Xiaomi Linux Huawei Docker