Single Menu Page with Bv and PHP

Collapse
This topic is closed.
X
This is a sticky topic.
X
X
 
  • Filter
  • Time
  • Show
Clear All
new posts
  • matrixxxxxx1
    Captain

    • Apr 2006
    • 221

    Re: Single Menu Page with Bv and PHP

    Hey George

    Just curious, is there a way to call up the menu if you've created a subfolder inside of your public_html folder with its own index page without having to publish the menu in that subfolder??



    Cheers
    Mike
    http://www.atexflooring.ca
    http://www.newfloor.ca

    Comment

    • Vasili
      Moderator

      • Mar 2006
      • 14683

      Re: Single Menu Page with Bv and PHP

      Unless something is published online, there is no access/associations attributed to it, and thus would be dysfunctional altogether.
      . VodaWebs....Luxury Group
      * Success Is Potential Realized *

      Comment

      • navaldesign
        General & Forum Moderator

        • Oct 2005
        • 12080

        Re: Single Menu Page with Bv and PHP

        Originally posted by matrixxxxxx1 View Post
        Hey George

        Just curious, is there a way to call up the menu if you've created a subfolder inside of your public_html folder with its own index page without having to publish the menu in that subfolder??



        Cheers
        Mike
        Depends on the type of menu. If it is a button (images) based menu, then it is not possible as the images will not be found. If instead it is a pure CSS menu or a text menu or a self contained (no external js files) Javascript menu, then there is no issue.

        If it is a images (buttons) based menu, it is still possible, using a path statement or absolute URLS for the buttons, but this is far more complicated than a simple "Publish" of the menu in the subfolder.

        Of course, you will need to set the correct path to the menu that is published in the main folder, like:

        <?php
        include "../menu.html";
        ?>

        instead of simply

        include "menu.php";
        Navaldesign
        Logger Lite: Low Cost, Customizable, multifeatured Login script
        Instant Download Cart: a Powerfull, Customized, in site, DB driven, e-products Cart
        DBTechnosystems.com Forms, Databases, Shopping Carts, Instant Download Carts, Loggin Systems and more....
        Advanced BlueVoda Form Processor : No coding form processor! Just install and use! Now with built in CAPTCHA!

        Comment

        • matrixxxxxx1
          Captain

          • Apr 2006
          • 221

          Re: Single Menu Page with Bv and PHP

          Hi George

          I'm trying to do this.

          I had to add a folder in my public_html for this software to work, as mentioned though I had to publish my menu to the folder.

          My menu is text not images.

          Is there an easier route other than having to publish the menu to the folder?

          Cheers
          Mike
          http://www.atexflooring.ca
          http://www.newfloor.ca

          Comment

          • navaldesign
            General & Forum Moderator

            • Oct 2005
            • 12080

            Re: Single Menu Page with Bv and PHP

            Honestly, with the software you use, just use a masterpage. If you need to update the site just publish Entire Site
            Navaldesign
            Logger Lite: Low Cost, Customizable, multifeatured Login script
            Instant Download Cart: a Powerfull, Customized, in site, DB driven, e-products Cart
            DBTechnosystems.com Forms, Databases, Shopping Carts, Instant Download Carts, Loggin Systems and more....
            Advanced BlueVoda Form Processor : No coding form processor! Just install and use! Now with built in CAPTCHA!

            Comment

            • matrixxxxxx1
              Captain

              • Apr 2006
              • 221

              Re: Single Menu Page with Bv and PHP

              Thnx for the tip George, I tried that route, with same results, I still have to publish to the subfolders individually as everything gets published to the public_html folder.

              As I have over 30 pages/folders to create, it would be a pain in the neck if I have to change the menu at a later time. Was hoping for an easier solution.
              http://www.atexflooring.ca
              http://www.newfloor.ca

              Comment

              • navaldesign
                General & Forum Moderator

                • Oct 2005
                • 12080

                Re: Single Menu Page with Bv and PHP

                Pls mail me.
                Navaldesign
                Logger Lite: Low Cost, Customizable, multifeatured Login script
                Instant Download Cart: a Powerfull, Customized, in site, DB driven, e-products Cart
                DBTechnosystems.com Forms, Databases, Shopping Carts, Instant Download Carts, Loggin Systems and more....
                Advanced BlueVoda Form Processor : No coding form processor! Just install and use! Now with built in CAPTCHA!

                Comment

                • BennBenn
                  Staff Sergeant

                  • Oct 2009
                  • 40

                  Re: Single Menu Page with Bv and PHP

                  Originally posted by navaldesign View Post
                  Yes, it is normal that it doesn't appear. You see, it has to be retreived from the server using php. When in preview, you are on computer level, where php doesn't work (unless one has Apache server / php environment installed on his computer, something that usually only programmers have)



                  Do i got to set all the pages to php where I want to put the menu in?
                  or just the index page?

                  Comment

                  • BennBenn
                    Staff Sergeant

                    • Oct 2009
                    • 40

                    Re: Single Menu Page with Bv and PHP

                    Do i got to set all the pages to php where I want to put the menu in?
                    or just the index page?

                    Comment

                    • Vasili
                      Moderator

                      • Mar 2006
                      • 14683

                      Re: Single Menu Page with Bv and PHP

                      Originally posted by BennBenn View Post
                      Do i got to set all the pages to php where I want to put the menu in?
                      or just the index page?
                      Originally posted by navaldesign View Post
                      The menu page can be either .html or .php

                      The pages that use this method to include the menu, MUST be .php
                      It's all "in there" if you look close enough!
                      . VodaWebs....Luxury Group
                      * Success Is Potential Realized *

                      Comment

                      • BennBenn
                        Staff Sergeant

                        • Oct 2009
                        • 40

                        Re: Single Menu Page with Bv and PHP

                        Thanks, now i can edit my Nav Bar just by opening that one page
                        and all of them change auto.
                        This is very cool, I like it.
                        Thanks to every one that help

                        Comment

                        • BennBenn
                          Staff Sergeant

                          • Oct 2009
                          • 40

                          Re: Single Menu Page with Bv and PHP

                          Hello, I'm trying to make ask a question, or set a question, but dont see how to
                          so i'll just ask it here

                          I got a script I want to put on my page
                          but the instructions say"
                          "Copy the script and attach it to the head section of your page"
                          the continue saying:
                          "You then link it into the head of your page"
                          then go on saying:
                          "add the following code to the body of your web page"

                          Where to find this body parts on my page
                          or how to do this actions

                          PLEASE HELP = Pronto
                          Excuse my english!!!!!

                          Comment

                          • BennBenn
                            Staff Sergeant

                            • Oct 2009
                            • 40

                            Where, what and how to find the Body parts like head and body in the webpage

                            I got a script I want to put on my page
                            but the instructions say"
                            "Copy the script and attach it to the head section of your page"
                            the continue saying:
                            "You then link it into the head of your page"
                            then go on saying:
                            "add the following code to the body of your web page"

                            Where to find this body parts on my page
                            or how to do this actions

                            PLEASE HELP = Pronto
                            Excuse my english!!!!!

                            Comment

                            • mumu
                              Sergeant Major

                              • Jan 2008
                              • 86

                              Re: Single Menu Page with Bv and PHP

                              Go to the menu "View" and press "Page HTML" you will find it there

                              Comment

                              • flexworth
                                Sergeant

                                • Jan 2010
                                • 24

                                Re: Single Menu Page with Bv and PHP

                                Dude this thread rules! I was stressing a little because I had posted a text box for my 'Copyright 2010' at the bottom of each page...well, we're in 2011 now and in less than 6 months we'll be in 2012...and my site has well over 100 pages. Of course I'm gonna have to change each page once to place the initial php (html box) but I'll only have to do this once! Thanks!
                                Jason Stallworth
                                TheMuscleProgram.com (main/first site)
                                http://www.themuscleprogram.com/

                                My product site:
                                http://www.hardcoremusclebuildingprogram.com/

                                http://www.jasonstallworth.com

                                Working on a metal/guitar site...coming soon!

                                Comment

                                Working...
                                X