The DEDECMS homepage calls the static method of the address of the latest comments and comment links
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.