Home > CMS Tutorial > DEDECMS > 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

藏色散人
Release: 2019-12-17 10:06:28
Original
2645 people have browsed it

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}
Copy after login

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]
Copy after login

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!

Related labels:
source:php.cn
Statement of this Website
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
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template