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

  • BennBenn
    replied
    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?

    Leave a comment:


  • BennBenn
    replied
    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?

    Leave a comment:


  • navaldesign
    replied
    Re: Single Menu Page with Bv and PHP

    Pls mail me.

    Leave a comment:


  • matrixxxxxx1
    replied
    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.

    Leave a comment:


  • navaldesign
    replied
    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

    Leave a comment:


  • matrixxxxxx1
    replied
    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

    Leave a comment:


  • navaldesign
    replied
    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";

    Leave a comment:


  • Vasili
    replied
    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.

    Leave a comment:


  • matrixxxxxx1
    replied
    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

    Leave a comment:


  • jorujuja
    replied
    Re: Single Menu Page with Bv and PHP

    Ok thank you. I thought this method would replace iFrame.

    Leave a comment:


  • navaldesign
    replied
    Re: Single Menu Page with Bv and PHP

    The "include" method will allow you to read and display any page in your site, in a specific part of your page. However, it can not be changed. To change it you would need to change the HTML box inner html using an event (a click on a button, or a timer or anything else)

    So you would need to use Javascript.

    An I frame instead is the most rudimental form of asyn******us changes in your page.

    Definately, the iframe solution, is simpler to use without coding

    Leave a comment:


  • Vasili
    replied
    Re: Single Menu Page with Bv and PHP

    Originally posted by jorujuja View Post
    Now my questions is... as you mentioned, this is better than iFrames.
    I need to call on a .html file to load in a specified location in my page; replacing another .html file that's already loaded in that place. It's exactly like using an iFrame. Is this possible? How?.
    No, it is not.
    Using the PHP global layout is simply to display the same item on multiple pages, and will display only within the formatted parameters configured: it will not populate external sources.

    Leave a comment:


  • jorujuja
    replied
    Re: Single Menu Page with Bv and PHP

    Hi Naval, I tried this trick on my site's menu and it worked!

    Now my questions is... as you mentioned, this is better than iFrames.
    I need to call on a .html file to load in a specified location in my page; replacing another .html file that's already loaded in that place. It's exactly like using an iFrame. Is this possible? How?

    Thank you very much.

    Leave a comment:


  • musiclanedotcom
    replied
    Re: Single Menu Page with Bv and PHP

    Hello guys, Naval,

    I have read and completed your directions, but still havent achieved the result I want. IN reading the forum, I see that BV has had trouble wit button issues before. Mine problem is this, I like the round buttons and the way you can change the colors on them. I created 7 buttons and programmed them the way I wanted them witht eh right names and the right links. I did this for 3 or 4 pages before realizing that I coild copy all of the buttons at the same time paste them to another page. Well this worked great and all of my links worked great. The only problem is that some of the labels on the buttons on different pages don't display the correct name on the web. For expamle, on the 3rd page the home button the 5th and 6th buttons all display Home, instead of what they are programmed to show which is Home, Nicki Manaj and Contact Us. You can check it out if you like, www.music-lane.com. Any ideas guys, I would really like ot keep these buttons if possible.

    Leave a comment:


  • acr500
    replied
    Re: Single Menu Page with Bv and PHP

    Originally posted by acr500 View Post
    Dear Sir

    How to delete the index.html from the server.?


    Thanks
    Dear Sir

    Thank you for your continued support. I think i have made a right decision buy choosing voda host because the support is very good. It help us to over come every single problum to build our website succesfully.
    Thanks

    Could you please help me with the steps involved in the php method.?
    I tried so many time however i am not able to see the menu appearing on my all webpages.

    I will explain the steps i did below.

    1 created a drop down menu. and saved as 'menu'
    2 In my home page I have created a html box and copy pasted the code given in the naval design instruction page.

    3 published both the pages that is menu.html and index.php.

    However the menu dosent appear on my home page.

    Can you please help me?

    Thank you once again.

    Leave a comment:

Working...
X