|
模板中插件嵌入点,有时候做模板的时候不小心把嵌入点删除了,或者做圆角布局没修改好等都会的导致插件使用中出现问题。
插件钩子代码例子:
插件钩子的作用在于能让插件在指定的一些位置输出有关代码,在制作Discuz模板的时候一定要参考默认模板中的插件钩子位置进行合理的安排!
下面是Discuz x2.5 模板文件中的插件钩子(插件嵌入点)列表:
一、全局(common/)- extcredits.htm
- string spacecp_credit_extra
- faq.htm
- string faq_extra
- footer.htm
- string global_footer
- string global_footerlink
- header.htm
- string global_cpnav_top (X2.5)
- string global_cpnav_extra1
- string global_cpnav_extra2
- string global_usernav_extra1
- string global_usernav_extra2
- string global_usernav_extra3
- string global_usernav_extra4 (X2.5)
- string global_nav_extra (X2.5)
- string global_header
- userabout.htm
- array global_userabout_top
- string userapp_menu_top
- string userapp_menu_middle
- array global_userabout_bottom
复制代码
二、论坛(forum/) |
|
关于我们