模板文件中的插件钩子(插件嵌入点):
插件钩子代码例子:
- <!--{hook/xxx_xxx}-->
插件钩子的作用在于能让插件在指定的一些位置输出有关代码!
在DZ7.x-DX1.5中插件钩子并不显得很重要,但是随着插件应用的不断普及,插件创作者的不断加入,插件钩子在模板中的地位尤其显得格外重要,如果缺少了程序必须的插件钩子,可能会造成自带系统插件功能受到影响!
所以我们在制作模板的时候一定要参考默认模板中的插件钩子位置进行合理的安排!
除非你觉得某个插件钩子在自己的模板中并不需要,否则请保留插件钩子代码!
本页最后修订时间:2012年9月19日 13:45:05
插件嵌入点列表
- global_header
- 'template/default/common/header.htm
- global_footer
-
array( 'template/default/common/footer.htm', 'template/default/search/footer.htm', ),
- global_footerlink
-
array( 'template/default/common/footer.htm', 'template/default/search/footer.htm', ),
- global_cpnav_top
- 'template/default/common/header.htm
- global_cpnav_extra1
- 'template/default/common/header.htm
- global_cpnav_extra2
- 'template/default/common/header.htm
- global_usernav_extra1
- 'template/default/common/header.htm
- global_usernav_extra4
- 'template/default/common/header.htm
- global_usernav_extra2
- 'template/default/common/header.htm
- global_usernav_extra3
- 'template/default/common/header.htm
- global_nav_extra
- 'template/default/common/header.htm
- global_userabout_top
- 'template/default/common/userabout.htm
- spacecp_credit_extra
- 'template/default/common/extcredits.htm
- faq_extra
- 'template/default/common/faq.htm
- userapp_menu_top
-
array( 'template/default/common/userabout.htm', 'template/default/userapp/userapp_menu_list.htm', ),
- userapp_menu_middle
-
array( 'template/default/common/userabout.htm', 'template/default/userapp/userapp_menu_list.htm', ),
- global_userabout_bottom
- 'template/default/common/userabout.htm
- collection_index_top
-
array( 'template/default/forum/collection_all.htm', 'template/default/forum/collection_mycollection.htm', 'template/default/forum/collection_index.htm', ),
- collection_index_bottom
- 'template/default/forum/collection_all.htm
- collection_nav_extra
- 'template/default/forum/collection_comment.htm
- collection_index_bottom
-
array( 'template/default/forum/collection_index.htm', 'template/default/forum/collection_mycollection.htm', ),
- collection_nav_extra
- 'template/default/forum/collection_nav.htm
- collection_viewoptions
- 'template/default/forum/collection_view.htm
- collection_view_top
- 'template/default/forum/collection_view.htm
- collection_threadlistbottom
- 'template/default/forum/collection_view.htm
- collection_relatedop
- 'template/default/forum/collection_view.htm
- collection_view_bottom
- 'template/default/forum/collection_view.htm
- collection_side_bottom
- 'template/default/forum/collection_view.htm
- index_status_extra
- 'template/default/forum/discuz.htm
- index_nav_extra
- 'template/default/forum/discuz.htm
- index_top
-
array( 'template/default/forum/discuz.htm', 'template/default/group/index.htm', 'template/default/group/type.htm', ),
- index_catlist_top
- 'template/default/forum/discuz.htm
- index_favforum_extra
- 'template/default/forum/discuz.htm
- index_favforum_extra
- 'template/default/forum/discuz.htm
- index_catlist
- 'template/default/forum/discuz.htm
- index_forum_extra
- 'template/default/forum/discuz.htm
- index_forum_extra
- 'template/default/forum/discuz.htm
- index_middle
- 'template/default/forum/discuz.htm
- index_bottom
-
array( 'template/default/forum/discuz.htm', 'template/default/group/index.htm', 'template/default/group/type.htm', ),
- index_side_top
-
array( 'template/default/forum/discuz.htm', 'template/default/group/index.htm', 'template/default/group/type.htm', ),
- index_side_bottom
-
array( 'template/default/forum/discuz.htm', 'template/default/group/index.htm', 'template/default/group/type.htm', ),
- post_image_btn_extra
- 'template/default/forum/editor_menu_forum.htm
- post_image_tab_extra
- 'template/default/forum/editor_menu_forum.htm
- post_attach_btn_extra
- 'template/default/forum/editor_menu_forum.htm
- post_attach_tab_extra
- 'template/default/forum/editor_menu_forum.htm
- forumdisplay_leftside_top
- 'template/default/forum/forumdisplay.htm
- forumdisplay_leftside_bottom
- 'template/default/forum/forumdisplay.htm
- forumdisplay_forumaction
- 'template/default/forum/forumdisplay.htm
- forumdisplay_modlink
- 'template/default/forum/forumdisplay.htm
- forumdisplay_top
- 'template/default/forum/forumdisplay.htm
- forumdisplay_middle
- 'template/default/forum/forumdisplay.htm
- forumdisplay_postbutton_top
- 'template/default/forum/forumdisplay.htm
- forumdisplay_threadtype_inner
- 'template/default/forum/forumdisplay.htm
- forumdisplay_filter_extra
- 'template/default/forum/forumdisplay.htm
- forumdisplay_threadtype_extra
- 'template/default/forum/forumdisplay.htm
- forumdisplay_bottom
- 'template/default/forum/forumdisplay.htm
- forumdisplay_side_top
- 'template/default/forum/forumdisplay.htm
- forumdisplay_side_bottom
- 'template/default/forum/forumdisplay.htm
- forumdisplay_fastpost_content
- 'template/default/forum/forumdisplay_fastpost.htm
- forumdisplay_fastpost_func_extra
- 'template/default/forum/forumdisplay_fastpost.htm
- forumdisplay_fastpost_ctrl_extra
- 'template/default/forum/forumdisplay_fastpost.htm
- global_login_text
- 'template/default/forum/forumdisplay_fastpost.htm
- forumdisplay_fastpost_btn_extra
- 'template/default/forum/forumdisplay_fastpost.htm
- forumdisplay_fastpost_sync_method
- 'template/default/forum/forumdisplay_fastpost.htm
- forumdisplay_filter_extra
- 'template/default/forum/forumdisplay_list.htm
- forumdisplay_thread
- 'template/default/forum/forumdisplay_list.htm
- forumdisplay_thread_subject
- 'template/default/forum/forumdisplay_list.htm
- forumdisplay_author
- 'template/default/forum/forumdisplay_list.htm
- forumdisplay_threadlist_bottom
- 'template/default/forum/forumdisplay_list.htm
- forumdisplay_postbutton_bottom
-
array( 'template/default/forum/forumdisplay_list.htm', 'template/default/forum/forumdisplay_sort.htm', ),
- forumdisplay_subforum_extra
- 'template/default/forum/forumdisplay_subforum.htm
- guide_nav_extra
- 'template/default/forum/guide.htm
- guide_top
- 'template/default/forum/guide.htm
- guide_bottom
- 'template/default/forum/guide.htm
- forumdisplay_thread
- 'template/default/forum/guide_list_row.htm
- index_navbar
- 'template/default/forum/index_navbar.htm
- post_top
- 'template/default/forum/post.htm
- post_middle
- 'template/default/forum/post.htm
- post_btn_extra
- 'template/default/forum/post.htm
- post_sync_method
- 'template/default/forum/post.htm
- post_bottom
- 'template/default/forum/post.htm
- post_activity_extra
- 'template/default/forum/post_activity.htm
- post_debate_extra
- 'template/default/forum/post_debate.htm
- post_editorctrl_right
- 'template/default/forum/post_editor_body.htm
- post_editorctrl_left
- 'template/default/forum/post_editor_body.htm
- post_editorctrl_top
- 'template/default/forum/post_editor_body.htm
- post_editorctrl_bottom
- 'template/default/forum/post_editor_body.htm
- post_side_top
- 'template/default/forum/post_editor_option.htm
- post_side_bottom
- 'template/default/forum/post_editor_option.htm
- post_infloat_top
- 'template/default/forum/post_infloat.htm
- post_infloat_middle
- 'template/default/forum/post_infloat.htm
- post_infloat_btn_extra
- 'template/default/forum/post_infloat.htm
- post_poll_extra
- 'template/default/forum/post_poll.htm
- post_reward_extra
- 'template/default/forum/post_reward.htm
- post_trade_extra
- 'template/default/forum/post_trade.htm
- forumdisplay_modlayer
- 'template/default/forum/topicadmin_modlayer.htm
- modcp_modlayer
- 'template/default/forum/topicadmin_modlayer.htm
- viewthread_tradeinfo_extra
- 'template/default/forum/trade_info.htm
- viewthread_top
- 'template/default/forum/viewthread.htm
- viewthread_postbutton_top
- 'template/default/forum/viewthread.htm
- viewthread_modoption
- 'template/default/forum/viewthread.htm
- viewthread_beginline
- 'template/default/forum/viewthread.htm
- viewthread_title_extra
- 'template/default/forum/viewthread.htm
- viewthread_title_row
- 'template/default/forum/viewthread.htm
- viewthread_middle
- 'template/default/forum/viewthread.htm
- viewthread_bottom
- 'template/default/forum/viewthread.htm
- viewthread_activity_extra1
- 'template/default/forum/viewthread_activity.htm
- viewthread_activity_extra2
- 'template/default/forum/viewthread_activity.htm
- viewthread_fastpost_side
- 'template/default/forum/viewthread_fastpost.htm
- viewthread_fastpost_content
- 'template/default/forum/viewthread_fastpost.htm
- viewthread_fastpost_func_extra
- 'template/default/forum/viewthread_fastpost.htm
- viewthread_fastpost_ctrl_extra
- 'template/default/forum/viewthread_fastpost.htm
- global_login_text
- 'template/default/forum/viewthread_fastpost.htm
- viewthread_fastpost_btn_extra
- 'template/default/forum/viewthread_fastpost.htm
- viewthread_postheader
- 'template/default/forum/viewthread_from_node.htm
- viewthread_postheader
- 'template/default/forum/viewthread_from_node.htm
- viewthread_postheader
- 'template/default/forum/viewthread_from_node.htm
- viewthread_endline
- 'template/default/forum/viewthread_from_node.htm
- viewthread_profileside
- 'template/default/forum/viewthread_node.htm
- viewthread_imicons
- 'template/default/forum/viewthread_node.htm
- viewthread_magic_user
- 'template/default/forum/viewthread_node.htm
- viewthread_avatar
- 'template/default/forum/viewthread_node.htm
- viewthread_sidetop
- 'template/default/forum/viewthread_node.htm
- viewthread_sidebottom
- 'template/default/forum/viewthread_node.htm
- viewthread_postheader
- 'template/default/forum/viewthread_node.htm
- viewthread_modaction
- 'template/default/forum/viewthread_node.htm
- viewthread_share_method
- 'template/default/forum/viewthread_node.htm
- viewthread_useraction
- 'template/default/forum/viewthread_node.htm
- viewthread_postsightm',lafter
- 'template/default/forum/viewthread_node.htm
- viewthread_postfooter
- 'template/default/forum/viewthread_node.htm
- viewthread_postaction
- 'template/default/forum/viewthread_node.htm
- viewthread_magic_thread
- 'template/default/forum/viewthread_node.htm
- viewthread_magic_post
- 'template/default/forum/viewthread_node.htm
- viewthread_endline
- 'template/default/forum/viewthread_node.htm
- viewthread_posttop
- 'template/default/forum/viewthread_node_body.htm
- global_login_text
- 'template/default/forum/viewthread_node_body.htm
- viewthread_postbottom
- 'template/default/forum/viewthread_node_body.htm
- viewthread_poll_top
- 'template/default/forum/viewthread_poll.htm
- viewthread_poll_bottom
- 'template/default/forum/viewthread_poll.htm
- viewthread_useraction_prefix
- 'template/default/forum/viewthread_portal.htm
- viewthread_useraction
- 'template/default/forum/viewthread_portal.htm
- viewthread_side_bottom
- 'template/default/forum/viewthread_portal.htm
- viewthread_trade_extra
- 'template/default/forum/viewthread_trade.htm
- group_navlink
- 'template/default/group/group.htm
- forumdisplay_navlink
- 'template/default/group/group.htm
- group_navlink
- 'template/default/group/group.htm
- forumdisplay_navlink
- 'template/default/group/group.htm
- group_top
- 'template/default/group/group.htm
- forumdisplay_top
- 'template/default/group/group.htm
- group_nav_extra
- 'template/default/group/group.htm
- forumdisplay_nav_extra
- 'template/default/group/group.htm
- group_bottom
- 'template/default/group/group.htm
- forumdisplay_bottom
- 'template/default/group/group.htm
- group_side_bottom
- 'template/default/group/group.htm
- forumdisplay_side_bottom
- 'template/default/group/group.htm
- forumdisplay_postbutton_top
- 'template/default/group/group_list.htm
- forumdisplay_filter_extra
- 'template/default/group/group_list.htm
- forumdisplay_thread
- 'template/default/group/group_list.htm
- forumdisplay_postbutton_bottom
- 'template/default/group/group_list.htm
- my_header
- 'template/default/group/group_my.htm
- my_bottom
- 'template/default/group/group_my.htm
- my_side_top
- 'template/default/group/group_my.htm
- my_side_bottom
- 'template/default/group/group_my.htm
- group_index_side
- 'template/default/group/group_right.htm
- group_side_top
- 'template/default/group/group_right.htm
- forumdisplay_side_top
- 'template/default/group/group_right.htm
- index_header
- 'template/default/group/index.htm
- index_grouplist
- 'template/default/group/type.htm
- follow_nav_extra
- 'template/default/home/follow_feed.htm
- follow_top
- 'template/default/home/follow_feed.htm
- follow_nav_extra
- 'template/default/home/follow_feed.htm
- spacecp_avatar_top
- 'template/default/home/spacecp_avatar.htm
- spacecp_avatar_bottom
- 'template/default/home/spacecp_avatar.htm
- spacecp_blog_top
- 'template/default/home/spacecp_blog.htm
- spacecp_blog_middle
- 'template/default/home/spacecp_blog.htm
- spacecp_blog_bottom
- 'template/default/home/spacecp_blog.htm
- spacecp_credit_top
- 'template/default/home/spacecp_credit_base.htm
- spacecp_credit_extra
- 'template/default/home/spacecp_credit_base.htm
- spacecp_credit_bottom
- 'template/default/home/spacecp_credit_base.htm
- spacecp_credit_top
- 'template/default/home/spacecp_credit_log.htm
- spacecp_credit_bottom
- 'template/default/home/spacecp_credit_log.htm
- spacecp_privacy_top
- 'template/default/home/spacecp_privacy.htm
- spacecp_privacy_base_extra
- 'template/default/home/spacecp_privacy.htm
- spacecp_privacy_feed_extra
- 'template/default/home/spacecp_privacy.htm
- spacecp_privacy_bottom
- 'template/default/home/spacecp_privacy.htm
- spacecp_profile_top
- 'template/default/home/spacecp_profile.htm
- spacecp_profile_extra
- 'template/default/home/spacecp_profile.htm
- spacecp_profile_bottom
- 'template/default/home/spacecp_profile.htm
- spacecp_promotion_top
- 'template/default/home/spacecp_promotion.htm
- spacecp_promotion_bottom
- 'template/default/home/spacecp_promotion.htm
- spacecp_usergroup_bottom
- 'template/default/home/spacecp_usergroup.htm
- spacecp_usergroup_top
- 'template/default/home/spacecp_usergroup.htm
- spacecp_usergroup_bottom
- 'template/default/home/spacecp_usergroup.htm
- space_album_pic_top
- 'template/default/home/space_album_pic.htm
- space_album_pic_op_extra
- 'template/default/home/space_album_pic.htm
- space_album_pic_bottom
- 'template/default/home/space_album_pic.htm
- space_album_pic_face_extra
- 'template/default/home/space_album_pic.htm
- space_album_op_extra
- 'template/default/home/space_album_view.htm
- space_blog_list_status
- 'template/default/home/space_blog_list.htm
- space_blog_title
- 'template/default/home/space_blog_view.htm
- space_blog_share_method
- 'template/default/home/space_blog_view.htm
- space_blog_op_extra
- 'template/default/home/space_blog_view.htm
- space_blog_face_extra
- 'template/default/home/space_blog_view.htm
- space_card_top
- 'template/default/home/space_card.htm
- space_card_baseinfo_middle
- 'template/default/home/space_card.htm
- space_card_baseinfo_bottom
- 'template/default/home/space_card.htm
- space_card_option
- 'template/default/home/space_card.htm
- space_card_magic_user
- 'template/default/home/space_card.htm
- space_card_bottom
- 'template/default/home/space_card.htm
- space_blog_comment_op
- 'template/default/home/space_comment_li.htm
- space_blog_comment_bottom
- 'template/default/home/space_comment_li.htm
- space_doing_top
- 'template/default/home/space_doing.htm
- space_doing_bottom
- 'template/default/home/space_doing.htm
- space_favorite_nav_extra
- 'template/default/home/space_favorite.htm
- space_interaction_extra
- 'template/default/home/space_friend.htm
- global_usernav_extra1
- 'template/default/home/space_header.htm
- global_usernav_extra2
- 'template/default/home/space_header.htm
- space_home_navlink
- 'template/default/home/space_home.htm
- space_home_side_top
- 'template/default/home/space_home.htm
- space_home_side_bottom
- 'template/default/home/space_home.htm
- space_home_top
- 'template/default/home/space_home.htm
- space_home_navlink
- 'template/default/home/space_home.htm
- space_home_bottom
- 'template/default/home/space_home.htm
- magic_nav_extra
- 'template/default/home/space_magic.htm
- medal_nav_extra
- 'template/default/home/space_medal.htm
- space_menu_extra
- 'template/default/home/space_menu.htm
- space_profile_baseinfo_top
- 'template/default/home/space_profile_body.htm
- follow_profile_baseinfo_top
- 'template/default/home/space_profile_body.htm
- space_profile_baseinfo_middle
- 'template/default/home/space_profile_body.htm
- follow_profile_baseinfo_middle
- 'template/default/home/space_profile_body.htm
- space_profile_baseinfo_bottom
- 'template/default/home/space_profile_body.htm
- follow_profile_baseinfo_bottom
- 'template/default/home/space_profile_body.htm
- space_profile_extrainfo
- 'template/default/home/space_profile_body.htm
- follow_profile_extrainfo
- 'template/default/home/space_profile_body.htm
- space_share_comment_op
- 'template/default/home/space_share_li.htm
- space_home_doing_sync_method
- 'template/default/home/space_status.htm
- space_wall_face_extra
- 'template/default/home/space_wall.htm
- logging_side_top
- 'template/default/member/login.htm
- logging_top
- 'template/default/member/login.htm
- logging_input
- 'template/default/member/login.htm
- logging_method
- 'template/default/member/login.htm
- global_login_extra
- 'template/default/member/login_simple.htm
- register_side_top
- 'template/default/member/register.htm
- register_top
- 'template/default/member/register.htm
- register_input
- 'template/default/member/register.htm
- register_logging_method
- 'template/default/member/register.htm
- register_bottom
- 'template/default/member/register.htm
- global_footer_mobile
- 'template/default/mobile/common/footer.htm
- global_header_mobile
- 'template/default/mobile/common/header.htm
- index_top_mobile
- 'template/default/mobile/forum/discuz.htm
- index_middle_mobile
- 'template/default/mobile/forum/discuz.htm
- index_bottom_mobile
- 'template/default/mobile/forum/discuz.htm
- forumdisplay_top_mobile
- 'template/default/mobile/forum/forumdisplay.htm
- forumdisplay_thread_mobile
- 'template/default/mobile/forum/forumdisplay.htm
- forumdisplay_bottom_mobile
- 'template/default/mobile/forum/forumdisplay.htm
- viewthread_top_mobile
- 'template/default/mobile/forum/viewthread.htm
- viewthread_posttop_mobile
- 'template/default/mobile/forum/viewthread.htm
- viewthread_postbottom_mobile
- 'template/default/mobile/forum/viewthread.htm
- viewthread_bottom_mobile
- 'template/default/mobile/forum/viewthread.htm
- portalcp_top
- 'template/default/portal/portalcp_article.htm
- portalcp_extend
- 'template/default/portal/portalcp_article.htm
- portalcp_middle
- 'template/default/portal/portalcp_article.htm
- portalcp_bottom
- 'template/default/portal/portalcp_article.htm
- view_article_top
- 'template/default/portal/view.htm
- view_article_subtitle
- 'template/default/portal/view.htm
- view_article_summary
- 'template/default/portal/view.htm
- view_article_content
- 'template/default/portal/view.htm
- view_share_method
- 'template/default/portal/view.htm
- view_article_op_extra
- 'template/default/portal/view.htm
- view_article_side_top
- 'template/default/portal/view.htm
- view_article_side_bottom
- 'template/default/portal/view.htm
- ranklist_nav_extra
- 'template/default/ranklist/side_left.htm
- album_top
- 'template/default/search/album.htm
- album_bottom
- 'template/default/search/album.htm
- blog_top
- 'template/default/search/blog.htm
- blog_bottom
- 'template/default/search/blog.htm
- forum_top
- 'template/default/search/forum.htm
- forum_bottom
- 'template/default/search/forum.htm
- group_top
- 'template/default/search/group.htm
- group_bottom
- 'template/default/search/group.htm
- global_usernav_extra1
- 'template/default/search/header.htm
- global_usernav_extra2
- 'template/default/search/header.htm
- portal_top
- 'template/default/search/portal.htm
- portal_bottom
- 'template/default/search/portal.htm
- userapp_app_top
- 'template/default/userapp/userapp_app.htm
- userapp_app_bottom
- 'template/default/userapp/userapp_app.htm
- userapp_index_top
- 'template/default/userapp/userapp_index.htm
- userapp_index_bottom
- 'template/default/userapp/userapp_index.htm
- userapp_menu_bottom
- 'template/default/userapp/userapp_menu_list.htm
转载请注明:帝国CMS模板 » 模板文件中的插件嵌入点列表
标签: