Re: Single Menu Page with Bv and PHP
More than a bug, BV has evolved to follow the most recent rules regarding WC3 compliance.
This has affected the page code structure as now there is a clear separation between the CSS and the objects code, whilst before the styling (css) was being embedded on a per object basis.
Unfortunately, this has also affected the PHP include method with the results you have already experienced. And, unfortunately, there is no easy solution. I will investigate to se if there is something that I can do, although I doubt it.
Single Menu Page with Bv and PHP
Collapse
This topic is closed.
X
This is a sticky topic.
X
X
-
Single Menu Page Not working
I created www.olympicbikeshop.com using HTML boxes which were linked to "menu.html" and "menu2.html" to create a header and footer which could be updated from a single location within the site. This seemed to be working for a while but now the pages are all off center despite the fact that the page settings are set to center horizontally. Everything was working fine, but after switching to PHP and referencing “menu1.html” and “footer.html” in the menu boxes, suddenly the page was no longer centered on the screen. The menu bars appear fine and the settings are all correctly set to display the page as centered horizontally, so I'm at a bit of a loss for what might have happened. I did the same thing on another site (www.resourcemobile.com) and had the exact same issue, plus the background disappeared. I then removed the HTML boxes referencing the menu and footer pages, embedded the menu and footer into the page and republished. The formatting was immediately returned to normal and now the page is centered properly and the background color is correct. The HTML boxes are obviously causing this problem as I have retained the page as a .php extension. Could there be a bug in a recent version of Blue Voda causing this issue?
Thanks,
Cri
Leave a comment:
-
-
Re: Single Menu Page with Bv and PHP
Sorry for the horrible grammar in the last post. I have removed the HTML boxes referencing the menu and footer pages, embedded the menu and footer into the page and republished. The formatting was immediately returned to normal and now the page is centered properly and the background color is correct. The HTML boxes are obviously causing this problem as I have retained the page as a .php extension. Could there be a bug in a recent version of Blue Voda causing this issue?
Leave a comment:
-
-
Re: Single Menu Page with Bv and PHP
This is a weird one... I'm having the exact same issue. I created www.olympicbikeshop.com the HTML boxes and linked them to "menu.html" and "menu2.html". This seemed to be working for a while but now the pages are all off center despite the fact that the page settings are set to center horizontally. Today I created a new site and tried the same trick at www.resourcemobile.com. The page was originally HTML and the header was built into the page. Everything was working fine, but after switching to PHP and referencing “menu1.html” and “footer.html” in the menu boxes, suddenly the page was no longer centered on the screen and the blue background disappeared. The menu bars appear fine and the settings are all correctly set to display the page as centered horizontally, so I'm at a bit of a loss for what might have happened. I'm not sure of the switch from HTML to PHP caused this or what. Any help would be greatly appreciated.
Thanks,
Cri
Leave a comment:
-
-
Re: Single Menu Page with Bv and PHP
Collector, Thanks.
The Url to the site is: http://atlantahispano.net/Otro.php
It all was working fine - them everything gone crazy.
Please Help. Excuse my english
Leave a comment:
-
-
Re: Single Menu Page with Bv and PHP
Originally posted by BennBenn View PostHello, My problem star not too long ago.
everything was working fine, till a publish my last page, now the page do not linup to the center, it gose to the left.
I check and check to see what was the problem, Find out the problem is the php.
PLEASE , How to fix this, I got all my pages with php for the Menu and so on. but it set to the left
if I set the extention to html, it will go back to the center. but the menu wont show.
HELP PLEASE.
Leave a comment:
-
-
Re: Single Menu Page with Bv and PHP
Hello, My problem star not too long ago.
everything was working fine, till a publish my last page, now the page do not linup to the center, it gose to the left.
I check and check to see what was the problem, Find out the problem is the php.
PLEASE , How to fix this, I got all my pages with php for the Menu and so on. but it set to the left
if I set the extention to html, it will go back to the center. but the menu wont show.
HELP PLEASE.
Leave a comment:
-
-
Re: Single Menu Page with Bv and PHP
Yippy skippy I have it all working now.Thanks, Upchuck
Leave a comment:
-
-
Re: Single Menu Page with Bv and PHP
Yeah Carbonterry, that is how I'm doing it. One menu works perfect. The other menus links work, but the look and postion is wrong.
Leave a comment:
-
-
Re: Single Menu Page with Bv and PHP
I can not get more than one menu working on a page? I need upto 5 multiple updating menus on a page. What is the best way to organize my menus? How do get this to work?
Thanks, Upchuck
Leave a comment:
-
-
Re: Single Menu Page with Bv and PHP
Of course each menu will have to have it's own unique name.
menu
menu1
menu2
menu3
menu4
with the resulting 5 codes in your html
<?php
include "menu.php";
?>
<?php
include "menu1.php";
?>
etc.......
you can use any name....menu...header...footer....
With BV12.2 it's a bit harder
If I'm incorrect with this advice I'm sure NavalDesign will lend a hand.
Leave a comment:
-
-
Re: Single Menu Page with Bv and PHP
I can only get one menu on a page, working. I need 5 menus on each page. I'm unclear about the folder thing?... I want to have everything organized under a sub domain if possible. All my pages are .php
Thanks, Upchuck
Leave a comment:
-
-
Re: Single Menu Page with Bv and PHP
Better with the php route as its easy to come across your pages that are the iframe pages & it can get confusing for a visitor.
This might give you slightly different view on how to make the php pages up.
Leave a comment:
-
-
Re: Single Menu Page with Bv and PHP
For whatever reason I couldn't get this to work so I went the Iframe route instead which was pretty simple. Is one method better than the other for SE or better in general, or does it really matter? Thanks
Leave a comment:
-
-
Re: Single Menu Page with Bv and PHP
Hi Naval,
Thank you very much for help !
Leave a comment:
-
Leave a comment: