Home  >  Article  >  CMS Tutorial  >  How to call the latest comments and comment link address statically on the DEDECMS homepage

How to call the latest comments and comment link address statically on the DEDECMS homepage

藏色散人
藏色散人Original
2019-12-17 10:06:282602browse

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=&#39;yes&#39;] 
$arcRow = GetOneArchive(@me); 
@me = $arcRow[&#39;arcurl&#39;]; 
[/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=&#39;yes&#39;] 
$arcRow = GetOneArchive(@me); 
@me = $arcRow[&#39;arcurl&#39;]; 
[/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!

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn