changing menu bars
Collapse
X
-
Re: changing menu bars
Correct code:
<?php
include ("accessories.php");
accessories();
?>
The accessories page must be php for this to work
CarbonTerry
Semper Fi
Still green...still mean......just not as lean
Red Hawk Archery
Zone 5 Photo
My USMC
Comment
-
-
Re: changing menu bars
When using this system you must replace the word "menu" (no quotes) wherever it appears and replace with the name of the php page you have published. In the above case it will be "accessories" (nq)CarbonTerry
Semper Fi
Still green...still mean......just not as lean
Red Hawk Archery
Zone 5 Photo
My USMC
Comment
-
-
Re: changing menu bars
I have done what you suggeted, published the pages contaning the menu in php, inserted the following codes in 1, 2, 3 html boxes respectivley
<?php
include 'accessories2.php';
?>
<?php
include 'hitekman2.php';
?>
<?php
include 'woman.php';
?>
and the result is still corrupt, only the 3rd menu Hi Tek woman is funstioning as it should. If I have one menu it works, by addin 2nd and third, the previous ones are gettin corrupt.
please take a look, and I really appreciate your help.
Comment
-
-
Re: changing menu bars
Incorrect code !!!!! You are leaving out a line of code on all examples.
Here's the correct code:
<?php
include ("accessories2.php");
accessories2();
?>
Is this menu named and published as accessories2 ???
------------------------------------------------------------
<?php
include ("hitekman2.php");
hitekman2();
?>
Is this menu named and published as hitekman2 ???
--------------------------------------------------------------
<?php
include ("woman.php");
woman2();
?>
Is this menu named and published as woman ???
---------------------------------------------------------------
CarbonTerry
Semper Fi
Still green...still mean......just not as lean
Red Hawk Archery
Zone 5 Photo
My USMC
Comment
-
-
Re: changing menu bars
I edited my last post please check again. "xxxxxxxx.php" is correctCarbonTerry
Semper Fi
Still green...still mean......just not as lean
Red Hawk Archery
Zone 5 Photo
My USMC
Comment
-
-
Re: changing menu bars
You may want to review the tutorial.
Remember...you will have to replace the word " menu " with whatever the name of the page is that contains the information.CarbonTerry
Semper Fi
Still green...still mean......just not as lean
Red Hawk Archery
Zone 5 Photo
My USMC
Comment
-
-
Re: changing menu bars
I see that you have published all menus. Have you inserted the correct code on all menu pages?
Start of Page:
<? function menu() { ?>
End of Page:
<?
}
?>
Replace the word " menu " (no quotes) with the appropriate page name, ie accessories2 or woman or hitechman2.
This has to be done with each menu page.
All pages that use this system must be published as .php extension.
CarbonTerry
Semper Fi
Still green...still mean......just not as lean
Red Hawk Archery
Zone 5 Photo
My USMC
Comment
-
-
Re: changing menu bars
Please provide the link again.CarbonTerry
Semper Fi
Still green...still mean......just not as lean
Red Hawk Archery
Zone 5 Photo
My USMC
Comment
-
-
Re: changing menu bars
This can be quite frustrating for a new webbie. Let's do one page at a time.
main page
I know that you have checked it many times but there is an error there.
<?php
include ("accessories2.php");
accessories2();
?>
is the code that goes into the html box on the main page
----------------------------------------------------
accessories2
Right click anywhere in the blank space of the page and select Page HTML (or, View, Page HTML). Now, click on “Start of Page” and paste in the window this code:
<? function accessories2() { ?>
-----------------------------------------------------------------------
Next, click on “End of page” and paste this other piece of code:
<?
}
?>
publish both pages as php
Give it another try please.CarbonTerry
Semper Fi
Still green...still mean......just not as lean
Red Hawk Archery
Zone 5 Photo
My USMC
Comment
-
-
Re: changing menu bars
So......on your main page you will have 3 html boxes in the physical position desired for the menus to appear.CarbonTerry
Semper Fi
Still green...still mean......just not as lean
Red Hawk Archery
Zone 5 Photo
My USMC
Comment
-
Comment