立即注册 找回密码

QQ登录

只需一步,快速开始

查看: 4321|回复: 0

[Discuz 通用教程] Discuz x2.5 模板文件中的插件钩子(插件嵌入点)

[复制链接]

114

主题

10

回帖

1564

积分

超级版主

Rank: 8Rank: 8

积分
1564

最佳新人活跃会员热心会员推广达人宣传达人突出贡献优秀版主荣誉管理论坛元老

发表于 2017-12-16 12:31:06 | 显示全部楼层 |阅读模式
道勤网-数据www.daoqin.net

亲注册登录道勤网-可以查看更多帖子内容哦!(包涵精彩图片、文字详情等)请您及时注册登录-www.daoqin.net

您需要 登录 才可以下载或查看,没有账号?立即注册

x
discuz x2.5模板中插件嵌入点,有时候做模板的时候不小心把嵌入点删除了,或者做圆角布局没修改好等都会的导致插件使用中出现问题。

插件钩子代码例子:
  1. <!--{hook/xxx_xxx}-->
复制代码
插件钩子的作用在于能让插件在指定的一些位置输出有关代码,在制作Discuz模板的时候一定要参考默认模板中的插件钩子位置进行合理的安排!


下面是Discuz x2.5 模板文件中的插件钩子(插件嵌入点)列表:

一、全局(common/)
  1. extcredits.htm
  2.      string spacecp_credit_extra
  3. faq.htm
  4.      string faq_extra
  5. footer.htm
  6.      string global_footer
  7.      string global_footerlink
  8. header.htm
  9.      string global_cpnav_top (X2.5)
  10.      string global_cpnav_extra1
  11.      string global_cpnav_extra2
  12.      string global_usernav_extra1
  13.      string global_usernav_extra2
  14.      string global_usernav_extra3
  15.      string global_usernav_extra4 (X2.5)
  16.      string global_nav_extra (X2.5)
  17.      string global_header
  18. userabout.htm
  19.      array global_userabout_top
  20.      string userapp_menu_top
  21.      string userapp_menu_middle
  22.      array global_userabout_bottom
复制代码
二、论坛(forum/)
  1. collection_all.htm (X2.5)
  2.      string collection_index_top
  3.      string collection_index_bottom
  4. collection_comment.htm (X2.5)
  5.      string collection_nav_extra
  6. collection_index.htm (X2.5)
  7.      string collection_index_top
  8.      string collection_index_bottom
  9. collection_mycollection.htm (X2.5)
  10.      string collection_index_top
  11.      string collection_index_bottom
  12. collection_nav.htm (X2.5)
  13.      string collection_nav_extra
  14. collection_view.htm (X2.5)
  15.      string collection_viewoptions
  16.      string collection_view_top
  17.      string collection_threadlistbottom
  18.      string collection_relatedop
  19.      string collection_view_bottom
  20.      string collection_side_bottom
  21. discuz.htm
  22.      string index_status_extra
  23.      string index_nav_extra (X2.5)
  24.      string index_top
  25.      string index_catlist_top (X2.5)
  26.      array index_favforum_extra (X2.5)
  27.      array index_catlist (X2.5)
  28.      array index_forum_extra (X2.5)
  29.      array index_forum_extra (X2.5)
  30.      string index_middle
  31.      string index_bottom
  32.      string index_side_top
  33.      string index_side_bottom
  34. discuzcode.htm
  35.      array viewthread_attach_extra (X2.5)
  36. editor_menu_forum.htm
  37.      string post_image_btn_extra
  38.      string post_image_tab_extra
  39.      string post_attach_btn_extra
  40.      string post_attach_tab_extra
  41. forumdisplay.htm
  42.      string forumdisplay_leftside_top
  43.      string forumdisplay_leftside_bottom
  44.      string forumdisplay_forumaction
  45.      string forumdisplay_modlink
  46.      string forumdisplay_top
  47.      string forumdisplay_middle
  48.      string forumdisplay_postbutton_top
  49.      string forumdisplay_threadtype_inner (X2.5)
  50.      string forumdisplay_filter_extra (X2.5)
  51.      string forumdisplay_threadtype_extra (X2.5)
  52.      string forumdisplay_bottom
  53.      string forumdisplay_side_top
  54.      string forumdisplay_side_bottom
  55. forumdisplay_fastpost.htm
  56.      string forumdisplay_fastpost_content
  57.      string forumdisplay_fastpost_func_extra
  58.      string forumdisplay_fastpost_ctrl_extra
  59.      string global_login_text
  60.      string forumdisplay_fastpost_btn_extra
  61.      string forumdisplay_fastpost_sync_method
  62. forumdisplay_list.htm
  63.      string forumdisplay_filter_extra
  64.      array forumdisplay_thread
  65.      array forumdisplay_thread_subject (X2.5)
  66.      array forumdisplay_author
  67.      array forumdisplay_thread (X2.5)
  68.      array forumdisplay_author (X2.5)
  69.      string forumdisplay_threadlist_bottom (X2.5)
  70.      string forumdisplay_postbutton_bottom
  71. forumdisplay_sort.htm (X2.5)
  72.      string forumdisplay_postbutton_bottom
  73. forumdisplay_subforum.htm (X2.5)
  74.      array forumdisplay_subforum_extra
  75.      array forumdisplay_subforum_extra
  76. guide.htm
  77.      string guide_nav_extra
  78.      string guide_top
  79.      string guide_bottom
  80. guide_list_row.htm (X2.5)
  81.      array forumdisplay_thread
  82. index_navbar.htm
  83.      string index_navbar
  84. post.htm
  85.      string post_top
  86.      string post_middle
  87.      string post_btn_extra
  88.      string post_sync_method
  89.      string post_bottom
  90. post_activity.htm
  91.      string post_activity_extra
  92. post_debate.htm
  93.      string post_debate_extra
  94. post_editor_body.htm
  95.      string post_editorctrl_right
  96.      string post_editorctrl_left
  97.      string post_editorctrl_top
  98.      string post_editorctrl_bottom
  99. post_editor_option.htm
  100.      string post_side_top
  101.      string post_side_bottom
  102. post_infloat.htm
  103.      string post_infloat_top
  104.      string post_infloat_middle
  105.      string post_infloat_btn_extra
  106. post_poll.htm
  107.      string post_poll_extra
  108. post_reward.htm
  109.      string post_reward_extra
  110. post_trade.htm
  111.      string post_trade_extra
  112. topicadmin_modlayer.htm
  113.      string forumdisplay_modlayer
  114.      string modcp_modlayer
  115. trade_info.htm
  116.      string viewthread_tradeinfo_extra
  117. viewthread.htm
  118.      string viewthread_top
  119.      string viewthread_postbutton_top
  120.      string viewthread_modoption
  121.      string viewthread_beginline (X2.5)
  122.      string viewthread_title_extra
  123.      string viewthread_title_row
  124.      string viewthread_middle
  125.      string viewthread_bottom
  126. viewthread_activity.htm
  127.      string viewthread_activity_extra1
  128.      string viewthread_activity_extra2
  129. viewthread_fastpost.htm
  130.      string viewthread_fastpost_side
  131.      string viewthread_fastpost_content
  132.      string viewthread_fastpost_func_extra
  133.      string viewthread_fastpost_ctrl_extra
  134.      string global_login_text
  135.      string viewthread_fastpost_btn_extra (X2.5)
  136. viewthread_from_node.htm
  137.      array viewthread_postheader
  138.      array viewthread_postheader
  139.      array viewthread_postheader
  140.      array viewthread_endline
  141. viewthread_node.htm
  142.      array viewthread_profileside
  143.      array viewthread_imicons
  144.      array viewthread_magic_user
  145.      array viewthread_avatar
  146.      array viewthread_sidetop
  147.      array viewthread_sidebottom
  148.      array viewthread_postheader
  149.      string viewthread_modaction (X2.5)
  150.      string viewthread_share_method
  151.      string viewthread_useraction
  152.      array viewthread_postsightmlafter (X2.5)
  153.      array viewthread_postfooter
  154.      array viewthread_postaction (X2.5)
  155.      string viewthread_magic_thread
  156.      array viewthread_magic_post
  157.      array viewthread_endline
  158. viewthread_node_body.htm
  159.      array viewthread_posttop
  160.      string global_login_text
  161.      array viewthread_postbottom
  162. viewthread_poll.htm
  163.      string viewthread_poll_top
  164.      string viewthread_poll_bottom
  165. viewthread_portal.htm
  166.      string viewthread_useraction_prefix
  167.      string viewthread_useraction
  168.      string viewthread_side_bottom
  169. viewthread_trade.htm
  170.      array viewthread_trade_extra
复制代码
三、群组(group/)
  1. group.htm
  2.      string group_navlink
  3.      string forumdisplay_navlink
  4.      string group_navlink
  5.      string forumdisplay_navlink
  6.      string group_top
  7.      string forumdisplay_top
  8.      string group_nav_extra
  9.      string forumdisplay_nav_extra
  10.      string group_bottom
  11.      string forumdisplay_bottom
  12.      string group_side_bottom
  13.      string forumdisplay_side_bottom
  14. group_list.htm
  15.      string forumdisplay_postbutton_top
  16.      string forumdisplay_filter_extra
  17.      array forumdisplay_thread
  18.      string forumdisplay_postbutton_bottom
  19. group_my.htm
  20.      string my_header
  21.      string my_bottom
  22.      string my_side_top
  23.      string my_side_bottom
  24. group_right.htm
  25.      string group_index_side
  26.      string group_side_top
  27.      string forumdisplay_side_top
  28. index.htm
  29.      string index_header
  30.      string index_top
  31.      string index_bottom
  32.      string index_side_top
  33.      string index_side_bottom
  34. type.htm
  35.      string index_top
  36.      array index_grouplist
  37.      string index_bottom
  38.      string index_side_top
  39.      string index_side_bottom
复制代码
四、家园(home/)
  1. follow_feed.htm (X2.5)
  2.      string follow_nav_extra
  3.      string follow_top
  4. spacecp_avatar.htm
  5.      string spacecp_avatar_top
  6.      string spacecp_avatar_bottom
  7. spacecp_blog.htm
  8.      string spacecp_blog_top
  9.      string spacecp_blog_middle
  10.      string spacecp_blog_bottom
  11. spacecp_credit_base.htm
  12.      string spacecp_credit_top
  13.      string spacecp_credit_extra
  14.      string spacecp_credit_bottom
  15. spacecp_credit_log.htm
  16.      string spacecp_credit_top
  17.      string spacecp_credit_bottom
  18. spacecp_privacy.htm
  19.      string spacecp_privacy_top
  20.      string spacecp_privacy_base_extra
  21.      string spacecp_privacy_feed_extra
  22.      string spacecp_privacy_bottom
  23. spacecp_profile.htm
  24.      string spacecp_profile_top
  25.      string spacecp_profile_extra
  26.      string spacecp_profile_bottom
  27. spacecp_promotion.htm
  28.      string spacecp_promotion_top
  29.      string spacecp_promotion_bottom
  30. spacecp_usergroup.htm
  31.      string spacecp_usergroup_top
  32.      string spacecp_usergroup_bottom
  33.      string spacecp_usergroup_top
  34.      string spacecp_usergroup_bottom
  35.      string spacecp_usergroup_top
  36.      string spacecp_usergroup_bottom
  37. space_album_pic.htm
  38.      string space_album_pic_top
  39.      string space_album_pic_op_extra
  40.      string space_album_pic_bottom
  41.      string space_album_pic_face_extra
  42. space_album_view.htm
  43.      string space_album_op_extra
  44. space_blog_list.htm
  45.      array space_blog_list_status
  46. space_blog_view.htm
  47.      string space_blog_title
  48.      string space_blog_share_method (X2.5)
  49.      string space_blog_op_extra
  50.      string space_blog_face_extra
  51. space_card.htm
  52.      string space_card_top
  53.      string space_card_baseinfo_middle
  54.      string space_card_baseinfo_bottom
  55.      string space_card_option
  56.      string space_card_magic_user
  57.      string space_card_bottom
  58. space_comment_li.htm
  59.      array space_blog_comment_op
  60.      string space_blog_comment_bottom
  61. space_doing.htm
  62.      string space_doing_top
  63.      string space_doing_bottom
  64. space_favorite.htm (X2.5)
  65.      string space_favorite_nav_extra
  66. space_friend.htm
  67.      string space_interaction_extra
  68. space_header.htm
  69.      string global_usernav_extra1
  70.      string global_usernav_extra2
  71. space_home.htm
  72.      string space_home_side_top (X2.5)
  73.      string space_home_side_bottom
  74.      string space_home_top
  75.      string space_home_navlink
  76.      string space_home_bottom
  77. space_magic.htm (X2.5)
  78.      string magic_nav_extra
  79. space_medal.htm (X2.5)
  80.      string medal_nav_extra
  81. space_menu.htm
  82.      string space_menu_extra
  83. space_profile_body.htm
  84.      string space_profile_baseinfo_top
  85.      string follow_profile_baseinfo_top (X2.5)
  86.      string space_profile_baseinfo_middle
  87.      string follow_profile_baseinfo_middle (X2.5)
  88.      string space_profile_baseinfo_bottom
  89.      string follow_profile_baseinfo_bottom (X2.5)
  90.      string space_profile_extrainfo
  91.      string follow_profile_extrainfo (X2.5)
  92. space_share_li.htm
  93.      array space_share_comment_op
  94. space_status.htm
  95.      string space_home_doing_sync_method
  96. space_wall.htm
  97.      string space_wall_face_extra
复制代码
五、注册/登录(member/)
  1. login.htm
  2.      string logging_side_top
  3.      string logging_top
  4.      string logging_input
  5.      string logging_method
  6. login_simple.htm
  7.      string global_login_extra
  8. register.htm
  9.      string register_side_top
  10.      string register_top
  11.      string register_input
  12.      string register_logging_method
  13.      string register_bottom
复制代码
六、门户(portal/)
  1. portalcp_article.htm
  2.      string portalcp_top
  3.      string portalcp_extend
  4.      string portalcp_middle
  5.      string portalcp_bottom
  6. view.htm
  7.      string view_article_top (X2.5)
  8.      string view_article_subtitle (X2.5)
  9.      string view_article_summary (X2.5)
  10.      string view_article_content (X2.5)
  11.      string view_share_method
  12.      string view_article_op_extra (X2.5)
  13.      string view_article_side_top (X2.5)
  14.      string view_article_side_bottom (X2.5)
复制代码
七、排行榜(ranklist/)

  1. side_left.htm
  2.      string ranklist_nav_extra
复制代码
八、搜索(search/)
  1. album.htm
  2.      string album_top
  3.      string album_bottom
  4. blog.htm
  5.      string blog_top
  6.      string blog_bottom
  7. footer.htm
  8.      string global_footer
  9.      string global_footerlink
  10. forum.htm
  11.      string forum_top
  12.      string forum_bottom
  13. group.htm
  14.      string group_top
  15.      string group_bottom
  16. header.htm
  17.      string global_usernav_extra1
  18.      string global_usernav_extra2
  19. portal.htm
  20.      string portal_top
  21.      string portal_bottom
复制代码
九、应用(userapp/)
  1. userapp_app.htm
  2.      string userapp_app_top
  3.      string userapp_app_bottom
  4. userapp_index.htm
  5.      string userapp_index_top
  6.      string userapp_index_bottom
  7. userapp_menu_list.htm
  8.      string userapp_menu_top
  9.      string userapp_menu_middle
  10.      string userapp_menu_bottom
复制代码
十、手机全局(mobile/common/)
  1. footer.htm
  2.      string global_footer_mobile
  3. header.htm
  4.      string global_header_mobile
复制代码
十一、手机论坛(mobile/forum/)

  1. discuz.htm
  2.      string index_top_mobile
  3.      string index_middle_mobile
  4.      string index_bottom_mobile
  5. forumdisplay.htm
  6.      string forumdisplay_top_mobile
  7.      array forumdisplay_thread_mobile
  8.      string forumdisplay_bottom_mobile
  9. viewthread.htm
  10.      string viewthread_top_mobile
  11.      array viewthread_posttop_mobile
  12.      array viewthread_postbottom_mobile
  13.      string viewthread_bottom_mobile
复制代码


道勤主机提供365天*24小时全年全天无休、实时在线、零等待的售后技术支持。竭力为您免费处理您在使用道勤主机过程中所遇到的一切问题! 如果您是道勤主机用户,那么您可以通过QQ【792472177】、售后QQ【59133755】、旺旺【诠释意念】、微信:q792472177免费电话、后台提交工单这些方式联系道勤主机客服! 如果您不是我们的客户也没问题,点击页面最右边的企业QQ在线咨询图标联系我们并购买后,我们为您免费进行无缝搬家服务,让您享受网站零访问延迟的迁移到道勤主机的服务!
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

关闭

道勤网- 推荐内容!上一条 /2 下一条

!jz_fbzt! !jz_sgzt! !jz_xgzt! 快速回复 !jz_fhlb! !jz_lxwm! !jz_gfqqq!

关于我们|手机版|小黑屋|地图|【道勤网】-www.daoqin.net 软件视频自学教程|免费教程|自学电脑|3D教程|平面教程|影视动画教程|办公教程|机械设计教程|网站设计教程【道勤网】 ( 皖ICP备15000319号-1 )

GMT+8, 2024-11-14 12:35

Powered by DaoQin! X3.4 © 2016-2063 Dao Qin & 道勤科技

快速回复 返回顶部 返回列表