Hello,
I want to move the Forum tab at the middle and then a custom tab at the left. I have hooked my custom tab with $template_hook['navtab_left']. I do not find $template_hook['navtab_left'] for the Forum tab. I do not know where to put $template_hook['navtab_middle'] for this default tab. Help! :D -- Laurent |
The Forum tab doesn't use a template_hook since it is entered right into the navbar template.
|
You mean left?
Well, an idea how to put it in the middle? :) |
What do you want in the middle? You would change the template_hook in the plugin to use the one you want. If you want to see exactly where they are located, then look in the navbar template.
|
I just want the forum tab at the middle (it's left by default).
But I do not know how to do it :) |
You will have to add any navtab you want to add to the navtab_left template_hook if you want it to the left of the forum navtab.
|
Well, that's not the case.
I hook on the middle for my custom tab and it works. When I hook on the left (what i want), the custom tab disappear... because of the forum tab which is located to the left by default... I suppose. ;) Sad to see a such basic feature does not exist on vBulletin :( |
It works just fine on my test site, so maybe your code is incorrect? Or perhaps you didn't try changing the Execution Order of the plugin?
|
First of all thanks for your answers Lynne,
I have just changed the following line in the plugin (MediaLibrary): $template_hook['navtab_middle'] .= $templater->render(); to $template_hook['navtab_left'] .= $templater->render(); then after your post I have changed the order from 5 to 1. (but I do not well if it's correct) The Media Library tab still does not appear. :'( |
Quote:
|
All times are GMT. The time now is 11:51 AM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|