Re: Single Menu Page with Bv and PHP
Went to http://www.kindoffice.co.uk/product_catagories.php
but could not see any mumbo jumbo.........is it fixed now?¿
Single Menu Page with Bv and PHP
Collapse
This topic is closed.
X
This is a sticky topic.
X
X
-
Re: Single Menu Page with Bv and PHP
Hi, did you add the
<?
}
?>
in the "End of page tab" on the menu2.php page???
Leave a comment:
-
-
Re: Single Menu Page with Bv and PHP
Hello Naval
I am trying to create a 2nd menu (which I've called menu2), which is basically those images below the mumbo jumbo.
I have followed your instructions (at least I think I have?) but can't fathom why that mumbo jumbo is appearing.
Please can you help me with this one?
This is what I've done
Menu2 Page
<? function menu2() { ?>
HTML Code for other pages and this one http://www.kindoffice.co.uk/product_catagories.php
<?php
include ("menu2.php");
menu2();
?>
Thanks
Darren
Leave a comment:
-
-
Re: Single Menu Page with Bv and PHP
Thanks so much.... this is one of the best tips!
Leave a comment:
-
-
Re: Single Menu Page with Bv and PHP
That's exactly what i posted above. You are correct.
Leave a comment:
-
-
Re: Single Menu Page with Bv and PHP
Originally posted by navaldesign View PostWhen i posted this thread, i was (wrongly) supposing that some users would benefit from the function, in example to pass over color schemes (having, with only one menu, multiple looks).
However, i now understand that NO ONE has ever done this, so i need to clarify:
If you don't want to have dynamic content, the code could be simply:
<?
include 'pagename.html';
?>
and nothing more!
Also, no need for ANY code in the menu page, which can be plain html (so no need to be php).
This makes the entire thing much simpler.
Ok, this is all very new to me...
so does this mean the menu page does not need to have any code in it and it does not need to be saved as a php?
And then in the html boxes I create on each page where the menu goes I only need to insert:
<?
include 'pagename.html';
?>
That's it? Or am I missing something? It seems so simple so I had to ask. Sorry if it seems so elementary ... I learn something new all the time!
TIA
Leave a comment:
-
-
Re: Single Menu Page with Bv and PHP
Hi George, could you email me please..............thanks
edit: have sent you an email
Leave a comment:
-
-
Re: Single Menu Page with Bv and PHP
When i posted this thread, i was (wrongly) supposing that some users would benefit from the function, in example to pass over color schemes (having, with only one menu, multiple looks).
However, i now understand that NO ONE has ever done this, so i need to clarify:
If you don't want to have dynamic content, the code could be simply:
<?
include 'pagename.html';
?>
and nothing more!
Also, no need for ANY code in the menu page, which can be plain html (so no need to be php).
This makes the entire thing much simpler.
Leave a comment:
-
-
Re: Single Menu Page with Bv and PHP
Originally posted by mumu View PostI think you have to put ...sub-menu();?>
will place sub-menu.php
within the brackets of submenu()
Leave a comment:
-
-
Re: Single Menu Page with Bv and PHP
I cannot explain why the menu behaves like that
but as you now only have 2 menu pages, play with the colours/background..
or exchange the menu with a text menu of your own..............(better for SEO's) imo.
edit: sorry george, typing as you were posting...............
Leave a comment:
-
-
Re: Single Menu Page with Bv and PHP
Probably because you have used the same style name in both the main page AND the submenu page. This causes conflicts. Check it.
Leave a comment:
-
-
Re: Single Menu Page with Bv and PHP
ok.
I changed the names and it did work - but now take a look at how it messes up the menus graphics. here is the link.
You will see the the menu on the top left changes colors once the sub menu comes inside.
Leave a comment:
-
Leave a comment: