<?xml version="1.0" encoding="gbk"?>
<rss version="2.0">
  <channel>
    <title>21番茄网 - discuz模板的开发</title>
    <link>http://www.21fanqie.com/forum-50-1.html</link>
    <description>Latest 20 threads of discuz模板的开发</description>
    <copyright>Copyright(C) 21番茄网</copyright>
    <generator>Discuz! Board by Comsenz Inc.</generator>
    <lastBuildDate>Sun, 04 Oct 2026 06:57:42 +0000</lastBuildDate>
    <ttl>60</ttl>
    <image>
      <url>http://www.21fanqie.com/static/image/common/logo_88_31.gif</url>
      <title>21番茄网</title>
      <link>http://www.21fanqie.com/</link>
    </image>
    <item>
      <title>disucz开发常用帮助文档</title>
      <link>http://www.21fanqie.com/thread-710-1-1.html</link>
      <description><![CDATA[disucz开发常用帮助文档

1.https://open.dismall.com/
2.https://www.w3cschool.cn/discuz/list/]]></description>
      <category>discuz模板的开发</category>
      <author>21fanqie</author>
      <pubDate>Sun, 13 Oct 2024 04:49:09 +0000</pubDate>
    </item>
    <item>
      <title>discuz内置G变量列表</title>
      <link>http://www.21fanqie.com/thread-709-1-1.html</link>
      <description><![CDATA[discuz内置变量列表

Discuz! 是一款使用广泛的开源PHP网站程序。在Discuz!中，内置了许多变量，这些变量可以直接在模板文件或程序代码中使用。以下是一些常见的Discuz内置变量列表：

$_G[\'username\']：当前登录用户的用户名。

$_G[\'uid\']：当前登录用户的UID。 ...]]></description>
      <category>discuz模板的开发</category>
      <author>21fanqie</author>
      <pubDate>Sun, 13 Oct 2024 04:40:36 +0000</pubDate>
    </item>
    <item>
      <title>discuz应用中心购买模板或其他渠道模板选择注意事项</title>
      <link>http://www.21fanqie.com/thread-604-1-1.html</link>
      <description><![CDATA[discuz应用中心购买模板或其他渠道模板选择注意事项

一、通用检查：
1.检查嵌入点是否丢失



2.检查其模板目录中引用的文件是否与默认模板中的文件名相同，如果不相同，那这个模板最好不要用，因为会导致出现大量的冲突问题和不可预知的问题，后期改动将非常麻 ...]]></description>
      <category>discuz模板的开发</category>
      <author>21fanqie</author>
      <pubDate>Wed, 04 May 2022 12:18:19 +0000</pubDate>
    </item>
    <item>
      <title>discuz面包屑导航的写法</title>
      <link>http://www.21fanqie.com/thread-603-1-1.html</link>
      <description><![CDATA[discuz面包屑导航的写法

$value[catname]这是上一级专题名字
$cat[catname]这是当前文章所属专题名字


{lang nav_index}&gt;
        


$value[catname]&gt;



$cat[catname]]]></description>
      <category>discuz模板的开发</category>
      <author>21fanqie</author>
      <pubDate>Mon, 02 May 2022 12:20:18 +0000</pubDate>
    </item>
    <item>
      <title>discuz嵌入点类型有哪些?</title>
      <link>http://www.21fanqie.com/thread-602-1-1.html</link>
      <description><![CDATA[discuz嵌入点类型有哪些?
1.页面嵌入点
作用∶修改页面显示
2.信息提示嵌入点
作用:修改showmessage()
3.广告嵌入点
作用:处理广告位数据
4.功能嵌入点
作用:处理主题，帖子，头像数据等



页面嵌入点的三种类型
1.全局页面嵌入点
运行位置:公共模板页面 ...]]></description>
      <category>discuz模板的开发</category>
      <author>21fanqie</author>
      <pubDate>Mon, 02 May 2022 09:41:36 +0000</pubDate>
    </item>
    <item>
      <title>discuz模板的logo图片类型在哪修改？</title>
      <link>http://www.21fanqie.com/thread-601-1-1.html</link>
      <description><![CDATA[discuz模板的logo图片类型在哪修改？


后台——模板——选择当前使用模板，点“编辑”]]></description>
      <category>discuz模板的开发</category>
      <author>21fanqie</author>
      <pubDate>Mon, 02 May 2022 07:41:33 +0000</pubDate>
    </item>
    <item>
      <title>discuz模块样式CSS语法使用规则</title>
      <link>http://www.21fanqie.com/thread-599-1-1.html</link>
      <description><![CDATA[discuz模块样式CSS语法使用规则


修改举例：

/** forum::forumdisplay **/
.tl .th { background: pink; }
/** end **/]]></description>
      <category>discuz模板的开发</category>
      <author>21fanqie</author>
      <pubDate>Mon, 02 May 2022 07:05:00 +0000</pubDate>
    </item>
    <item>
      <title>discuz模板风格目录说明及两个重要的样式文件</title>
      <link>http://www.21fanqie.com/thread-598-1-1.html</link>
      <description><![CDATA[一、discuz默认模板风格目录说明及两个重要的样式文件

default——默认模板样式目录
    common——样式与公共模板目录
        common.css——公共样式文件（控制整个网站的全局样式）
        module.css——模块样式文件（控制模块的样式）
        header.ht ...]]></description>
      <category>discuz模板的开发</category>
      <author>21fanqie</author>
      <pubDate>Mon, 02 May 2022 06:37:44 +0000</pubDate>
    </item>
    <item>
      <title>discuz论坛列表页是否显示左侧导航的方法</title>
      <link>http://www.21fanqie.com/thread-596-1-1.html</link>
      <description><![CDATA[discuz论坛列表页是否显示左侧导航的方法


界面——界面设置——界面设置——左侧版块导航宽度。

如果设置为0，则不显示左侧导航。]]></description>
      <category>discuz模板的开发</category>
      <author>21fanqie</author>
      <pubDate>Mon, 02 May 2022 05:51:19 +0000</pubDate>
    </item>
    <item>
      <title>discuz宽屏和窄屏的设置方法</title>
      <link>http://www.21fanqie.com/thread-595-1-1.html</link>
      <description><![CDATA[discuz宽屏和窄屏的设置方法


界面——界面设置——全局——站点宽窄风格]]></description>
      <category>discuz模板的开发</category>
      <author>21fanqie</author>
      <pubDate>Mon, 02 May 2022 05:47:04 +0000</pubDate>
    </item>
    <item>
      <title>discuz模板目录说明以及xml文件的说明和参数解释以及新建模板步骤</title>
      <link>http://www.21fanqie.com/thread-594-1-1.html</link>
      <description><![CDATA[discuz模板目录说明

template——模板总目录
    default——默认模板样式目录
    XXXXX——自定义模板样式目录




default——默认模板样式目录
    common——样式与公共模板
    forum——论坛模板
    ......
    discuz_style_default.xml——模板 ...]]></description>
      <category>discuz模板的开发</category>
      <author>21fanqie</author>
      <pubDate>Mon, 02 May 2022 05:17:41 +0000</pubDate>
    </item>
    <item>
      <title>Discuz!全局变量、常量详细列表</title>
      <link>http://www.21fanqie.com/thread-591-1-1.html</link>
      <description><![CDATA[]]></description>
      <category>discuz模板的开发</category>
      <author>21fanqie</author>
      <pubDate>Thu, 28 Apr 2022 15:39:55 +0000</pubDate>
    </item>
    <item>
      <title>discuz 怎么查看一个插件使用的嵌入点文件?</title>
      <link>http://www.21fanqie.com/thread-590-1-1.html</link>
      <description><![CDATA[进入插件的设计界面（进入方法详见：http://www.21fanqie.com/thread-588-1-1.html）

找到程序模块下的名称，这个就是嵌入点文件了



嵌入点文件为： 插件程序模块名称.class.php]]></description>
      <category>discuz模板的开发</category>
      <author>21fanqie</author>
      <pubDate>Thu, 28 Apr 2022 14:39:29 +0000</pubDate>
    </item>
    <item>
      <title>discuz页面嵌入点</title>
      <link>http://www.21fanqie.com/thread-589-1-1.html</link>
      <description><![CDATA[1.discuz 插件机制之页面嵌入点

2.discuz使用资料库：
（1）官方资料库
（2）其他站点资料库

3.Discuz! X3 数据库字典：https://www.dz7.com.cn/library/database/]]></description>
      <category>discuz模板的开发</category>
      <author>21fanqie</author>
      <pubDate>Thu, 28 Apr 2022 14:29:56 +0000</pubDate>
    </item>
    <item>
      <title>discuz打开插件的设计模式和模板的嵌入点的方法</title>
      <link>http://www.21fanqie.com/thread-588-1-1.html</link>
      <description><![CDATA[discuz打开插件的设计模式和模板的嵌入点的方法

config文件夹下的config_global.php文件，在最后添加下面三句话之一：

$_config[\'plugindeveloper\'] = 0;  默认什么都不开启
$_config[\'plugindeveloper\'] = 1;  开启插件设计者模式
$_config[\'plugindeveloper\'] ...]]></description>
      <category>discuz模板的开发</category>
      <author>21fanqie</author>
      <pubDate>Thu, 28 Apr 2022 14:24:45 +0000</pubDate>
    </item>
    <item>
      <title>discuz 常用标签有哪些？</title>
      <link>http://www.21fanqie.com/thread-587-1-1.html</link>
      <description><![CDATA[1.discuz 变量输出标签
作用：输出变量的值，支持多维数组，变量嵌套方式。

使用方法：｛$变量名｝或 $变量名


{$_G[\'uid\']}用户id值
{$_G[\'username\']}用户名


2.Discuz!X常量输出标签
作用：输出常量值

使用方法：{常量名}


{TIMESTAMP}当 ...]]></description>
      <category>discuz模板的开发</category>
      <author>21fanqie</author>
      <pubDate>Wed, 27 Apr 2022 09:37:50 +0000</pubDate>
    </item>
    <item>
      <title>discuz新建模板的文件夹和文件名要与默认模板中的一致</title>
      <link>http://www.21fanqie.com/thread-586-1-1.html</link>
      <description><![CDATA[如果默认模板中有的文件夹和文件，那么discuz新建模板的文件夹和文件名要与默认模板中的一致。

这样程序会首先查找指定模板下的文件，如果文件不存在，才会重定向到默认模板。


自定义模板和默认模板之间的关系：
       Discuz!在进行模板显示时，会检测并显示 ...]]></description>
      <category>discuz模板的开发</category>
      <author>21fanqie</author>
      <pubDate>Tue, 26 Apr 2022 15:47:29 +0000</pubDate>
    </item>
    <item>
      <title>Discuz!X子模版调用标签</title>
      <link>http://www.21fanqie.com/thread-585-1-1.html</link>
      <description><![CDATA[Discuz!X子模版调用标签

作用：通过调用子模版，实现模版分离，提升模版复用率。
使用方法：
方法1.{template  当前模板下的第一级文件夹名/文件名}
方法2.{subtemplate  当前模板下的第一级文件夹名/文件名}
说明：subtemplate是将默认模板和子模板编译到一起， ...]]></description>
      <category>discuz模板的开发</category>
      <author>21fanqie</author>
      <pubDate>Tue, 26 Apr 2022 15:20:29 +0000</pubDate>
    </item>
    <item>
      <title>discuz！模板引擎执行流程和理解php的include机制</title>
      <link>http://www.21fanqie.com/thread-584-1-1.html</link>
      <description><![CDATA[discuz！模板引擎执行流程
模板引擎是通过一个函数调用的，路径是：/source/function/function_core.php
在以上php文件中搜索：function template，就可以找到模板引擎的总入口

php混编代码的位置：/data/template/这个里面的php文件都是模板缓存文件。
这些模板 ...]]></description>
      <category>discuz模板的开发</category>
      <author>21fanqie</author>
      <pubDate>Tue, 26 Apr 2022 15:03:19 +0000</pubDate>
    </item>
    <item>
      <title>Discuz!模版文件怎么定位？</title>
      <link>http://www.21fanqie.com/thread-583-1-1.html</link>
      <description><![CDATA[Discuz!模版文件怎么定位？


一般情况下，查看动态链接的构成，php前的是模板目录名，mod=后的是模板文件名：


特殊情况，查看动态链接的构成，php前的是模板目录名，mod=和do=后的，共同构成模板文件名：

discuz默认模板的特点是以“.htm”为结尾。
最简单 ...]]></description>
      <category>discuz模板的开发</category>
      <author>21fanqie</author>
      <pubDate>Tue, 26 Apr 2022 14:51:38 +0000</pubDate>
    </item>
  </channel>
</rss>