1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

List of HookNames?

Discussion in 'XenForo Development Discussions' started by Chuck Scannell, Apr 7, 2013.

  1. I have been reading through the threads seeing if I can find a list of hooknames available to no avail here.

    It seems if I want to define a box on the sidebar I can use the hookname forum_list_sidebar'

    What I am looking for is the hookname for right above the forum list in the main block of the forumhome if there is one.

    I want to define a block that goes there so looking for that hookname

    Thanks.
     
  2. MattW

    MattW Well-Known Member

    If you have Widget Framework installed, you can view your site will all the hook locations exposed

    hooks.PNG
     
  3. Brogan

    Brogan XenForo Moderator Staff Member

    <xen:hook name="forum_list_nodes">
     
  4. xf_phantom

    xf_phantom Well-Known Member

    If anybody is still needing a complete list of template hooks in 1.1.4

    Left side : template name
    Right side: templatehook name


    Hope this helps:)
    PHP:
    <?php
    /** autogenerated file **/
    class Proxy_TemplateHooksCustomOutput {
     
     
            public static function 
    getTemplateHooks(){
                return array(
                                
    'account_alerts_extra'  => 'account_alert_preferences',
                                
    'account_avatar'  => 'account_avatar',
                                
    'account_contact_details_identities'  => 'account_contact_details',
                                
    'account_facebook_not_associated'  => 'account_facebook',
                                
    'account_following_controls'  => 'account_following',
                                
    'account_ignored_controls'  => 'account_ignored',
                                
    'account_personal_details_about'  => 'account_personal_details',
                                
    'account_preferences_options'  => 'account_preferences',
                                
    'account_privacy_bottom'  => 'account_privacy',
                                
    'account_wrapper_content'  => 'account_wrapper',
                                
    'ad_above_content'  => 'ad_above_content',
                                
    'ad_above_top_breadcrumb'  => 'ad_above_top_breadcrumb',
                                
    'ad_below_bottom_breadcrumb'  => 'ad_below_bottom_breadcrumb',
                                
    'ad_below_content'  => 'ad_below_content',
                                
    'ad_below_top_breadcrumb'  => 'ad_below_top_breadcrumb',
                                
    'ad_forum_view_above_node_list'  => 'ad_forum_view_above_node_list',
                                
    'ad_forum_view_above_thread_list'  => 'ad_forum_view_above_thread_list',
                                
    'ad_header'  => 'ad_header',
                                
    'ad_member_view_above_messages'  => 'ad_member_view_above_messages',
                                
    'ad_member_view_below_avatar'  => 'ad_member_view_below_avatar',
                                
    'ad_member_view_sidebar_bottom'  => 'ad_member_view_sidebar_bottom',
                                
    'ad_message_below'  => 'ad_message_below',
                                
    'ad_message_body'  => 'ad_message_body',
                                
    'ad_sidebar_below_visitor_panel'  => 'ad_sidebar_below_visitor_panel',
                                
    'ad_sidebar_bottom'  => 'ad_sidebar_bottom',
                                
    'ad_sidebar_top'  => 'ad_sidebar_top',
                                
    'ad_thread_list_below_stickies'  => 'ad_thread_list_below_stickies',
                                
    'ad_thread_view_above_messages'  => 'ad_thread_view_above_messages',
                                
    'ad_thread_view_below_messages'  => 'ad_thread_view_below_messages',
                                
    'conversation_message_public_controls'  => 'conversation_message',
                                
    'editor'  => 'editor',
                                
    'editor_tinymce_init'  => 'editor_js_setup',
                                
    'footer_links_legal'  => 'footer',
                                
    'forum_list_sidebar'  => 'forum_list',
                                
    'forum_view_threads_before'  => 'forum_view',
                                
    'header'  => 'header',
                                
    'help_bb_codes'  => 'help_bb_codes',
                                
    'help_index_extra'  => 'help_index',
                                
    'help_sidebar_links'  => 'help_wrapper',
                                
    'login_bar_eauth_items'  => 'login_bar_form',
                                
    'header_logo'  => 'logo_block',
                                
    'member_card_stats'  => 'member_card',
                                
    'member_recent_content_search_content_types'  => 'member_recent_content',
                                
    'member_view_tabs_content'  => 'member_view',
                                
    'message_below'  => 'message',
                                
    'message_simple_notices'  => 'message_simple',
                                
    'message_user_info_custom_fields'  => 'message_user_info',
                                
    'moderator_bar'  => 'moderator_bar',
                                
    'navigation_tabs_help'  => 'navigation',
                                
    'navigation_visitor_tabs_end'  => 'navigation_visitor_tab',
                                
    'node_forum_level_2_before_lastpost'  => 'node_forum_level_2',
                                
    'pagenode_container_article'  => 'pagenode_container',
                                
    'page_container_breadcrumb_bottom'  => 'PAGE_CONTAINER',
                                
    'page_container_js_body'  => 'page_container_js_body',
                                
    'post_public_controls'  => 'post',
                                
    'share_page_options'  => 'post_permalink',
                                
    'profile_post_public_controls'  => 'profile_post',
                                
    'quick_search'  => 'search_bar',
                                
    'search_form_tabs'  => 'search_form_tabs',
                                
    'share_page_options'  => 'share_page',
                                
    'sidebar_share_page_options'  => 'sidebar_share_page',
                                
    'sidebar_visitor_panel_stats'  => 'sidebar_visitor_panel',
                                
    'thread_create_fields_extra'  => 'thread_create',
                                
    'thread_list_options'  => 'thread_list',
                                
    'thread_list_item_icon_key'  => 'thread_list_item',
                                
    'thread_reply'  => 'thread_reply',
                                
    'thread_view_qr_after'  => 'thread_view',
                                
    'xenforo_css_extra'  => 'xenforo.css',
                                
    'admin_sidebar_appearance'  => 'appearance_splash',
                                
    'admin_sidebar_applications'  => 'application_splash',
                                
    'admin_category_edit'  => 'category_edit',
                                
    'admin_sidebar_development'  => 'development_splash',
                                
    'admin_forum_edit_thread_prefixes'  => 'forum_edit',
                                
    'page_criteria_extra'  => 'helper_criteria_page',
                                
    'user_criteria_extra'  => 'helper_criteria_user',
                                
    'admin_sidebar_home'  => 'home',
                                
    'admin_link_forum_edit'  => 'link_forum_edit',
                                
    'admin_page_edit_php_callback'  => 'page_edit',
                                
    'admin_sidebar_tools'  => 'tools_splash',
                                
    'admin_user_edit_panes'  => 'user_edit',
                                
    'admin_sidebar_users'  => 'user_splash',
                            );
            }
    }
     
    TenPercenter, euantor and MattW like this.
  5. borbole

    borbole Well-Known Member

    Pereira likes this.
  6. jmurrayhead

    jmurrayhead Well-Known Member

    how?
    EDIT: nevermind, found it:/admin.php?widgets/reveal
     
    Wulfspider likes this.
  7. doublespaces

    doublespaces Member

    That didn't work for me?
     

Share This Page