Announcement

Collapse
No announcement yet.

changing menu bars

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • #16
    Re: changing menu bars

    please look at this page,



    underneath the title accessories is an html box contaning <?php
    include 'accessories.html';
    ?>
    which is page

    and it does not show at all, i have used a sliding menu, where am i going wrong?

    Comment


    • #17
      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


      • #18
        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


        • #19
          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


          • #20
            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


            • #21
              Re: changing menu bars

              ok one of the menu names is accessories2.php is the code
              include ("accessories2.php"); or include ('accessories2.php');

              Comment


              • #22
                Re: changing menu bars

                I edited my last post please check again. "xxxxxxxx.php" is correct
                CarbonTerry
                Semper Fi
                Still green...still mean......just not as lean

                Red Hawk Archery
                Zone 5 Photo
                My USMC

                Comment


                • #23
                  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


                  • #24
                    Re: changing menu bars

                    sorry I dont get it is it with or without quotes? I put in all 3 cases exactly as you have shown me above and the reult is very bad. you must bear in mind that I dont know to write html (obviously)

                    Comment


                    • #25
                      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


                      • #26
                        Re: changing menu bars

                        I believe I have done step by step everything in the tutorial, but it does not work with me. it works is it is a text menu but not a menu bar if that makes any sense.

                        Comment


                        • #27
                          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


                          • #28
                            Re: changing menu bars



                            pretty baaad

                            Comment


                            • #29
                              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


                              • #30
                                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

                                Working...
                                X