In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-01-17 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)06/02 Report--
This article shows you how to use the phpcms comment function, the code is concise and easy to understand, it will definitely brighten your eyes. I hope you can get something through the detailed introduction of this article.
How to use the phpcms comment function: first, find the "comment" line in "Module"-> "Module Management" in the background; then configure some functional parameters of the comment module; finally, call the comment message window tag code.
The use of phpcms v9 comment module
The comment module of phpcms v9 is generally placed under the website articles and other content to comment on the current articles.
1. How to use the background:
1. Uninstall, install, and configure:
In the "module"-"module management" in the background, find the "comment" line, which can be uninstalled or installed; in the "module"-"comment" in the background, you can configure some functional parameters of this module, such as whether to audit, whether to open the CAPTCHA, and so on.
two。 Comment message content management:
In the background of "content"-"content release Management" under "comment Management", you can delete, review and other management operations of all comments and comments on the site.
In addition, you can also view and manage the comments of an article in the article list in content Management, and there is a comment link on the right side of the article list to view the comments under the current article.
2. Call the tag method in the template page:
An example of the tag code for calling the comment message window is as follows:
{if $allow_comment & & module_exists ('comment')} {/ if}
A code example of a popular comment article is as follows:
{pc:comment action= "bang" siteid= "$siteid" cache= "3600"} {loop $data $r} {str_cut ($r [total], 40)} ({$r [title]}) {/ loop} {/ pc}
Third, comment function switch:
The intention in the editing interface where we add the article is "whether comments are allowed or not" to determine whether the comment function is enabled for this article.
The above is how to use the phpcms comment function. Have you learned any knowledge or skills? If you want to learn more skills or enrich your knowledge reserve, you are welcome to follow the industry information channel.
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.