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

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

    Naval,

    Great explanation of including menus for easy update... stellar!

    This means I have to go back into the navigation menu and rename all links (throughout the site) to a .PHP rather than .HTML#xxx hyperlink, right?

    and

    make sure that all pages (they all of the main menu in them) as .PHP files when I publish.

    Did I get this right. I've only just begun, so it won't be so bad, but is there a "change all function" that can do this?

    Leave a comment:


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

    Thanks George, it worked perfectly. I am using 3 different menus
    (1 ,2 & 3).

    Leave a comment:


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

    Hi Terry,

    Of course, no problem. Infact, the BV drop down, which i used in my example, is Javascript.

    Leave a comment:


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

    George,
    Is it possible to create a java script menu and then using your method to call for it using the html box?
    I will also have a text menu footer for the SE's.
    Thanks

    Leave a comment:


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

    Sorry Vicky, forgot your pages, looking at them now

    Leave a comment:


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

    No 1/ This problem with getting the code right has had an interesting side effect - I've ended up building another site. While I'm certain it's not the BV record for the shortest time - I sure about 2.5 days (while working etc) for building a site I had no intention of building for many months & wasn't sure what I was even going to put on it when I started - is a bit of a record especially as I built my own templete etc. As I said my php works on that site.

    No 2/ Has the mystery deepened? As stated previously I put the same php code on several different pages now with opposite results. Now I have 2 more mysteries. On some of the pages of my new site www.dinkydi.info the links are orange when the colour I've made them is brown (like it is on other pages)! More interestingly the H1 tags on my home page are black (which is the colour I expected them to be) on most other pages the colour they have turned out is brown. I will paste the two codes I have used. The first one comes out black & the next ones comes out brown. Any one know why? Perhaps an answer would solve my first mystery problem with why info put in the html of pages turns out different.

    <center><H1><font size=4>Information on Modifying & Tuning Engines </font></H1></center>

    <center><H1><font size=4>Tips for Starting & Running a Web-site</font></H1></center>

    Leave a comment:


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

    Thanks, will do. The mystery deepens. Please check out the lastest version of http://www.dinkydi.info The php is working properly (there is a pinkish hue around the menubar) & I have done exactly the same thing each time. No copycat blue symbols have appeared at the end like there have on the other two immediately after I add the code in the box.
    Last edited by pioneerVicki; 08-31-2007, 10:45 AM. Reason: spelling mistake

    Leave a comment:


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

    The blue color appearance is normal. What ever you place directly in the page html will appear as blue. So this is not your problem.
    If you wish, send me your topofpage and the main page where you have embedded it using myform. I will see what is going wrong and send them back to you.

    Leave a comment:


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

    Vicki,
    </html><?
    }
    ?>
    That would be your problem than. Your server is trying to pull up a page called "html" when it loads that page.

    You have to have it say

    <? function topofpage() { ?>
    for it to work for you. Or whatever the php page is that you are trying to call up.

    Leave a comment:


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

    </html><?
    }
    ?> that appears right at the end of the grey section of the generated html page. This is from my page entitled 'topofpage'. Exactly the same code appears on 'myspecialsbar'; though I didn't get a faults message for that page.

    Leave a comment:


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

    Will you please post here the code as it appears in the problematic pages ? Go in View, Page html, copy the code from the window, and paste it here. This is the only way i can help you. And, WHICH PART and WHERE does it appear in Blue colour ?

    Leave a comment:


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

    I have re-done the page twice & the same thing happens everytime. As per instructions I opened page html & have clicked on 'start of page' & put in this code <? function topofpage() { ?> then I have clicked on 'end of page' & pasted in
    <?
    }
    ?>

    I have put the same code (changing name ofcourse!) on 4 pages (6 with repeats) . On 'topofpage' & also 'myspecialsbar' the last code appears in blue at the very end of everything uptop as soon as I paste it in. On 'menu' & the page of my new site www.dinkydi.info it does NOT appear in blue after I have pasted it in the box after clicking on 'end of page' in the page html.
    How you can do the same thing & get two different results, I don't know, I don't know I don't know. Blue Voda said that nothing is allowed after the html. I don't know, I don't know. I don't even know for sure that there is a problem as I haven't published the page that is supposed to have the error. Help.............

    Leave a comment:


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

    I have completely redone my site using the php format suggested and I just wanted to let you all know I am loving all the extra time I have to worry about other issues with my business.

    Thank You

    Leave a comment:


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

    There is no way we can see the php code, and that's why i asked for the code.

    Leave a comment:


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

    The code should be correct; please visit www.dinkydi.info I just published this morning using exactly the same code in both my pages as before & as you can see it's working fine. (should do its your code!)That page has NOT got the blue markings in the top box like the one for the other site. I might re-do the "top" for the other site again & see what happens. If still no luck - I'll get back.

    Leave a comment:

Working...
X