方法一:通过数据库修改 打开zbp_post表,找到需要修改的文章记录。 修改log_ViewNums字段的值。 方法二:使用插件 下载并安装插件“自定义文章浏览数”。 插件下载 按照插件文档进行操作。...
添加自定义函数: function class_field($classid, $field) { global $empire, $dbtbpre; $classid = (int)$classid; $...
问题:还原备份数据时出现0记录空数据。 解决办法: 打开 dede/sys_data_done.php 文件,将 $dsql->SetQuery("SHOW CREATE TABLE " . $dsq...
模板文件嵌套引用: {include file=head.html} 使用说明: 可以嵌套使用,如:index.html 嵌套一个 head.html,同时 head.html 中嵌...
修改 SitemapModel.php 文件: 打开 /apps/home/model/SitemapModel.php 文件 在 78 行后面增加以下代码: public function getSortT...
方法一:底层标签 [field:description/] 改成 [field:infos/] 方法二: [field:description function='cn_substr(@me,66)...
PbootCMS V3.2.5 版本对 URL 参数添加了判断: if(stripos(URL, '?') !== false && stripos(URL, '/?tag=') == false &&...
问题:无法删除栏目。 解决办法: 打开 /include/typeunit.class.admin.php 文件,找到 function DelType($id, $isDelFile),将 $t...
添加代码: 在会员字段的头像字段内添加以下代码: <img src='<?= $ecmsfirstpost == 1 ? "/images/1.jpg" : ehtmlspecialchars(stripSlashes...
问题:列表调用 [field:title/] 时标题出现 b 标签。 解决办法: 打开 include/arc.listview.class.php 文件,将 $row['title']...