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

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

    Originally posted by navaldesign View Post
    The correct pages are http://buyindonesia.com/a.php

    and http://buyindonesia.com/index.php .

    In your index page the menu doesn't show because it retrieves the html page (you need to delete it) >Where to delete it, I did delete it at ftp but still can't get it right. and not the php. However, you also have made some other mistake because you have inserted the menu code in that page too. >where to see it and get rid of it?

    The a.php page seems correct, i can't know if there are links missing.
    Hi!
    George,


    click any above, they show
    Fatal error: Cannot redeclare menu() (previously declared in /home/rbnwrmty/public_html/menu.php:7) in /home/rbnwrmty/public_html/menu.php on line 33
    I ahve changed the file extension from html to php at page properties before published.
    I have gone through almost all the whole threads but still can't get then done.
    Regards,
    PJR

    Leave a comment:


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

    The correct pages are http://buyindonesia.com/a.php

    and http://buyindonesia.com/index.php .

    In your index page the menu doesn't show because it retrieves the html page (you need to delete it) and not the php. However, you also have made some other mistake because you have inserted the menu code in that page too.

    The a.php page seems correct, i can't know if there are links missing.

    Leave a comment:


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

    Hi! Can anyone please take a look.

    http://buyindonesia.com/ ( Why it can't show the menu? At first, I got it right but don't know what I did, I make the menu disappear and have retried over and over agin but still can get it fixed.)

    http://buyindonesia.com/a.html ( It can show the menu BUT when I add new thing in the menu page and save and republished it, the new thing not included?)

    Please help. Thank you.

    Leave a comment:


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

    Now is 02:00 for u . Rick. Good night.
    I am only 22 :00 here

    Leave a comment:


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

    Originally posted by WSBlue View Post
    Thank you so much for your deep explaination.
    Now I got it work.
    BUT when I add something new on the menu and republish it, I don't see the new added thing in index page even in Live.
    I don't have to republish my index, do I ? Thanks again.
    When you add something new to the menu, first you save it, then publish it. It should then show up in your other pages next time you call them up on the internet. If they don't show the changes then the problem is the cached files saved on your home computer. So first try "refreshing the page. If that doesn't so it first time, hit the F5 key repeatedly many times. That should cure it. :)
    I'm off to bed as it's almost 1:30am.
    Glad to be of help
    Rick

    Leave a comment:


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

    Originally posted by Meanderer View Post
    @ WSBlue,

    OK, sounds like you need to do a bit of reading up but here's a further explanation.
    The subject of this thread is to create a menu element and by using a html box being able to place it on any page you construct. Then whenever you need to alter the menu you only have to go to the original element page, alter it, save it, publish it and then it will be changed in all pages of your site that call for it.
    Now, when you first create your menu, you follow George's instructions to the letter. The page that just contains the menu you name it (say) 'menu' but in the page properties you select the file type to be php when published. (NOT html). You don't use any extension when naming ....... BV does that for you with any page!
    You never have to use the name 'menu' again in any other pages. If you want the menu to show on your home page, you place the html box on that page. (html box contains the script/code for the menu.php page). When saving this NEW page, you just name it index if it's to be your home page. You can "title" your page Index in the properties box. But NEVER use a title for the 'menu' page. :- just save it as menu.
    When someone types in your domain address www.yourdomain.com it will automatically try to find the index.html OR the index.php page. So if you use this system described in George's Thread, it will be index.php. Now, if you have already had an index page named index.html you will have to delete it using file manager in your control panel and just leave the index.php file there..

    If you have another domain, BV will have created another folder automatically for that other domain. Whilst you could use the name menu in the second domain folder, it's wiser to change the name slightly at least. You couldn't use the SAME menu page element because the links would different.

    Hope that clears it up for you. I know what you are going through. Sometimes we gloss over a single point when reading instructions and it throws everything out and we go around in circles until someone sets us straight again :) Been there, done that! LOL
    Good Luck
    Rick
    Thank you so much for your deep explaination.
    Now I got it work.
    BUT when I add something new on the menu and republish it, I don't see the new added thing in index page even in Live.
    I don't have to republish my index, do I ? Thanks again.

    Leave a comment:


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

    @ WSBlue,

    OK, sounds like you need to do a bit of reading up but here's a further explanation.
    The subject of this thread is to create a menu element and by using a html box being able to place it on any page you construct. Then whenever you need to alter the menu you only have to go to the original element page, alter it, save it, publish it and then it will be changed in all pages of your site that call for it.
    Now, when you first create your menu, you follow George's instructions to the letter. The page that just contains the menu you name it (say) 'menu' but in the page properties you select the file type to be php when published. (NOT html). You don't use any extension when naming ....... BV does that for you with any page!
    You never have to use the name 'menu' again in any other pages. If you want the menu to show on your home page, you place the html box on that page. (html box contains the script/code for the menu.php page). When saving this NEW page, you just name it index if it's to be your home page. You can "title" your page Index in the properties box. But NEVER use a title for the 'menu' page. :- just save it as menu.
    When someone types in your domain address www.yourdomain.com it will automatically try to find the index.html OR the index.php page. So if you use this system described in George's Thread, it will be index.php. Now, if you have already had an index page named index.html you will have to delete it using file manager in your control panel and just leave the index.php file there..

    If you have another domain, BV will have created another folder automatically for that other domain. Whilst you could use the name menu in the second domain folder, it's wiser to change the name slightly at least. You couldn't use the SAME menu page element because the links would different.

    Hope that clears it up for you. I know what you are going through. Sometimes we gloss over a single point when reading instructions and it throws everything out and we go around in circles until someone sets us straight again :) Been there, done that! LOL
    Good Luck
    Rick

    Leave a comment:


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

    Originally posted by Meanderer View Post
    @WSBlue,

    If you right click on the HTML BOX that you have inserted on your page, and you select HTML, you will see just the three as you have. But if you right click on the page outside your html box you will see all the Tags that you see in Georges examples. i.e one is html box and the other is page html.

    The second question you raised. Yes you publish TWO pages. However, one is just a page with the ELEMENT, i.e your menubar and the other page is your web page (or template page) that you are placing the menu in position. (Remember, he has suggested you make the HTML box the same size as the finished menu contents so that you can see it represented (space wise) on your page where you are positioning it. (If you follow his instructions and place the generated menu into the very top left corner of the menu page, then the very top left corner of the html box you place on your webpage will be the datum position)
    Hope that makes sense to you.
    Cheers,
    Rick
    Hi! Meanderer,
    How do I name the web page.
    ex.
    mydomain.com ( for index page)
    mydomain.com/a.html (for other pages)
    Am I right?

    And

    If I have another domain, how to I name the menu page. It can't be the same, right?

    Thank you.

    Leave a comment:


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

    Originally posted by Collectors-info View Post
    On the generator part, create the code as per instructions on that site, then go to your BV page properties html area & paste the code bellow into “Between the head tag” & replace the part in red with your new CSS code that the site has shown in the 1st box.

    <style type="text/css">

    Delete this text & place your CSS part of the code here.
    </style>


    The html part of the code you need to paste in a html box on the front of your bv page where you would like your menu to be. Test in preview. Good luck.
    Thanks again Chris,
    It worked a treat. I'll be fiddling around with menus for a while until I decide exactly what suits the site.
    Regards,
    Rick

    Leave a comment:


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

    Originally posted by WSBlue View Post
    Geroge, Why your samples have all these:
    Start of Page, Between Head Tag, Inside Body Tag, Beginning of Body, End of Body, End of Page.

    Mine only show Before Tag, Inside Tag, After Tag ?
    @WSBlue,

    If you right click on the HTML BOX that you have inserted on your page, and you select HTML, you will see just the three as you have. But if you right click on the page outside your html box you will see all the Tags that you see in Georges examples. i.e one is html box and the other is page html.

    The second question you raised. Yes you publish TWO pages. However, one is just a page with the ELEMENT, i.e your menubar and the other page is your web page (or template page) that you are placing the menu in position. (Remember, he has suggested you make the HTML box the same size as the finished menu contents so that you can see it represented (space wise) on your page where you are positioning it. (If you follow his instructions and place the generated menu into the very top left corner of the menu page, then the very top left corner of the html box you place on your webpage will be the datum position)
    Hope that makes sense to you.
    Cheers,
    Rick

    Leave a comment:


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

    Step 5. Define and publish your page as PHP page

    Repeat exactly the step 3 operations, for this page.


    So we will save 2 pages; one is called menu and the other is phpmenu ?

    Leave a comment:


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

    Geroge, Why your samples have all these:
    Start of Page, Between Head Tag, Inside Body Tag, Beginning of Body, End of Body, End of Page.

    Mine only show Before Tag, Inside Tag, After Tag ?

    Leave a comment:


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

    Originally posted by Collectors-info View Post
    Hi, should of popped this one in the css area. On the generator part, create the code as per instructions on that site, then go to your BV page properties html area & paste the code bellow into “Between the head tag” & replace the part in red with your new CSS code that the site has shown in the 1st box.

    <style type="text/css">

    Delete this text & place your CSS part of the code here.
    </style>


    The html part of the code you need to paste in a html box on the front of your bv page where you would like your menu to be. Test in preview. Good luck.
    Thanks Chris,
    I won't get a chance to try it for another 24 hours. Can't wait to try it out. Will get back with the result as soon as I have.

    I realised that I should have put it into the CSS forum a day after and then didn't ant to double up. I guess I could have deleted the post here put it across there.
    I have just 5 hours before I have to get up for work so I better get some shut eye. Thanks again.
    Rick

    Leave a comment:


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

    Originally posted by WSBlue View Post
    George,
    This technique works for all menus, including text menu? Thanks.
    Yes.

    Leave a comment:


  • Collectors-info
    replied
    Re: Single Menu Page with Bv and PHP

    Originally posted by Meanderer View Post
    Hi,
    I have been able to successfully use this method to place all my elements so far in my first attempt at building a website. www.crookwellshow.com.au The site is in its infancy but is live. I'd really like to use a CSS menu generator which I found on line at http://www.webmaster-toolkit.com/css...enerator.shtml
    I need some guidance !!!! The generator only works on line and it gives you a working result on "their" page and two windows - one with the CSS code and one with the HTML code that is required. I've tried fiddling around with trying to place those codes in my page construction but with no success.
    I'm not in the "good books" with my wife having spent so much valuable time 'playing and learning and reading', which I really enjoy.
    I've had to 'bite the bullet' and ask for help.
    Everything I've learnt about web construction I've learnt from this forum and my own persistence in trial and error.
    Hope I can achieve this as I'm not content with what I did achieve with the Blue Voda menus (maybe I could if I kept redesigning and experimenting)
    Thanks in advance.
    Rick
    Hi, should of popped this one in the css area. On the generator part, create the code as per instructions on that site, then go to your BV page properties html area & paste the code bellow into “Between the head tag” & replace the part in red with your new CSS code that the site has shown in the 1st box.

    <style type="text/css">

    Delete this text & place your CSS part of the code here.
    </style>


    The html part of the code you need to paste in a html box on the front of your bv page where you would like your menu to be. Test in preview. Good luck.

    Leave a comment:

Working...
X