2015-10-12, 12:42 AM
I have a basic menu bar i have on my main site.
http://python-gaming.com/
I would like to add that same bar above the header of the forums of mybb in
http://python-gaming.com/forums/
Kinda like just dropping the forums a few pixels to insert the menu bar. I have the code for the menu bar in a header shtml file that i add to all my html files. I dont know if there is a way to just add that included line somewhere in the code or not?
I tried adding
<!--#include virtual="/menu.shtml"-->
to the header section within ACP but it does not add my menu bar. The menu.shtml is in my root, but i am not sure how far back i need to go?
I went as far back one by one as
<!--#include virtual="../../../../../menu.shtml"-->
but i dont know what directory the header for the forums are in
I also tried path to relative root as well as php include
<!--#include virtual="/menu.shtml"-->
<?php include("/menu.shtml");?>
but that didnt work either
http://python-gaming.com/
I would like to add that same bar above the header of the forums of mybb in
http://python-gaming.com/forums/
Kinda like just dropping the forums a few pixels to insert the menu bar. I have the code for the menu bar in a header shtml file that i add to all my html files. I dont know if there is a way to just add that included line somewhere in the code or not?
I tried adding
<!--#include virtual="/menu.shtml"-->
to the header section within ACP but it does not add my menu bar. The menu.shtml is in my root, but i am not sure how far back i need to go?
I went as far back one by one as
<!--#include virtual="../../../../../menu.shtml"-->
but i dont know what directory the header for the forums are in
I also tried path to relative root as well as php include
<!--#include virtual="/menu.shtml"-->
<?php include("/menu.shtml");?>
but that didnt work either