The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
Help With Including File - Menu
Hey All I need some help.
On my main site I have a menu that I want to add into my forum. I tried adding it to the navbar and it shows up but the formatting is wrong. I created a file called menu.html which looks fine on a direct url call. I then created the pluggin below in the root forum directory. $includedhtml = implode('', file('./menu.html')); I then added $includedhtml to the navbar which shows me a nice "$includedhtml" on the forum but not the menu I am hoping to see lol. What do I need to do to correct this? Thanks for your help! --------------- Added [DATE]1265923310[/DATE] at [TIME]1265923310[/TIME] --------------- ok after finding another post for including a php file, it looks like the docs need to be changed for 4.0. Does anyone know the new code format for an html file? --------------- Added [DATE]1265985444[/DATE] at [TIME]1265985444[/TIME] --------------- Here is what I am using so far if this helps. I have a file named menu.html with dhtml menu in it. In the plugin I have the below and I am using global_start. I have also tried using 'navbar' instead of header. PHP Code:
PHP Code:
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|