Home >CMS Tutorial >DEDECMS >How to call the latest comments and comment link address statically on the DEDECMS homepage
How to make the latest comments and comment link addresses static on the DEDECMS homepage?
DEDECMS homepage calls the latest comments and comment link addresses to implement the code statically. Friends in need can refer to it.
Recommended study: 梦Weavercms
Calling the latest comments:
The code is as follows:
{dede:feedback row='10'} <dt><a target="_blank" href="[field:aid runphp='yes'] $arcRow = GetOneArchive(@me); @me = $arcRow['arcurl']; [/field:aid]">[field:msg/]</a></dt><dd></dd> {/dede:feedback}
The connection address of the comment uses the static connection of html:
The code is as follows:
[field:aid runphp='yes'] $arcRow = GetOneArchive(@me); @me = $arcRow['arcurl']; [/field:aid]
replaces the original [field:arcurl/]
The above is the detailed content of How to call the latest comments and comment link address statically on the DEDECMS homepage. For more information, please follow other related articles on the PHP Chinese website!