Announcement

Collapse
No announcement yet.

Where to find the new navbar hook?

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Where to find the new navbar hook?

    A new template hook has been added to the navbar template:
    $template_hook[navbar_search_menu]

    However, if I hit add new plugin, product: vBulletin, I can't find the hook "navbar_search_menu" in the DropDownMenu.

    I just find: navbits and navbits_complete.

    What do I do wrong or how to get the navbar_search_menu hook? Thanks!


  • #2
    Would those not be for Project Tools and maybe the Blog...

    Comment


    • #3
      It has been announced in the vBulletin 3.6.6 Update thread so I assume it's for vBulletin?!

      Comment


      • #4
        It's for any additions to the most common vb templates (such as navbar, postbit, usercp menu, etc...). you simply create a new template with the additional html, and create a plugin which will eval the new template addition in the location of the $template_hook variable, like so:

        PHP Code:
        eval('$template_hook[postbit_end] .= " ' fetch_template('my_custom_template') . '";'); 
        http://www.vbulletin.com/forum/image...avbit-home.png Eclipse Records - independent record company focused on active rock & alternative metal music
        http://www.vbulletin.com/forum/image...avbit-home.png Streetcult Street Team Marketing - grassroots marketing, promotion, consulting, & digital distribution

        Comment

        widgetinstance 262 (Related Topics) skipped due to lack of content & hide_module_if_empty option.
        Working...
        X