DEDECMS Global label feedback| member comment content

Source: Internet
Author: User
Keywords Dedecms feedback Global label member comment content

Feedback| member Comments

Label Name: Feedback
Feature description: Used to invoke the latest comment
Scope of application: global use
Basic syntax:
{Dede:feedback}
&http://www.aliyun.com/zixun/aggregation/37954.html ">nbsp;<ul>
<li class= ' fbtitle ' >[field:username function= ' (@me = ' guest '? ' Visitor ': @me) '/] comment on [field:title/]:</li>
<li class= ' fbmsg ' > <a href= ' plus/feedback.php?aid=[field:aid/] ' class= ' fbmsg ' >[field:msg/]</a> </li>
</ul>
{/dede:feedback}
Related functions:
File \include\taglib\feedback.lib.php Line 15th
Function Lib_feedback (& $ctag,& $REFOBJ)
Parameter description:
Row= ' 12 ' call comment number
Titlelen= ' 24 ' title length
infolen= ' 100 ' comment length
Usages:
This tag mainly invokes the system's member comment information, we can see the relevant content in the default template home page:

We can view the template \templets\default\index.htm on the first page, and in about 151 lines there are the following code:
{dede:feedback row= ' 5 ' titlelen= ' infolen= ' 80 '}
<li> <small><a href= "#" class= "username" >[field:username function= "(@me = = ' guest '? ' Visitor ': @me) '/]</a> comment <a href= "[Field:global.cfg_phpurl/]/feedback.php?aid=[field:aid/]" class= "title" >[ Field:title/]</a></small>
<p>[field:msg/]</p>
</li>
{/dede:feedback}
This call is for members ' latest comments, and of course we can review and edit existing comments in the system background [core]-[comment Management]:

In the "Interactive settings" of the system]-[system basic parameters, there are also relevant setting options for comments, which can be used to control members ' comments.

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.