Page 3 of 6 FirstFirst 123456 LastLast
Results 201 to 300 of 594

Thread: Single Menu Page with Bv and PHP
      
   

  1. #201

    Smile Re: Single Menu Page with Bv and PHP

    Quote Originally Posted by navaldesign
    Blue FTP is limited as to the number of files it displayes. Use File manager .

    Thnx navaldesign. Problem solved

  2. #202
    Join Date
    Mar 2006
    Posts
    14,683

    Lightbulb Re: Single Menu Page with Bv and PHP

    Quote Originally Posted by Andy128
    Naval- You are a life saver!!!!!! Thanks very much for your tutorial! I have a site (www.123gpp.com) that I currently have over 130 pages and it is expected to grow to over 300+. This method will be fantastic to create a site that can be eaisly managed. I very much wanted to be able to adapt the site content for Hoildays and celebrations and such but could not having to change so many pages. I can't wait to get started. I have been researching Beths hatred for I-Frames (which is well founded I have found out) as far SE's was concerned. This seems like a perfect solution.
    I'd like to add an "aside" to this very highly valued thread in VodaTalk regarding the use of iFrames vs. CSS/php link styles, and how the quandry I faced was addressed.

    Since I have a giant "affiliate-based" eCommerce site (www.MyChoiceMall.com) that truly is full of "one-way" outbound links and therefore not SE-friendly in any respect, and I needed a way to provide visitors with an easily navigable means to "click to" the more than 500 stores within a likewise easy-to-manage system on my end, I needed to implement more than one style of tool.

    Since I find re-designing the BV site itself into a pure php-based site too overwhelming of a task (since it is constantly being updated and changed), I 'defaulted' by using the globally manageable iFrame menu system that included 2 Go Menus: one that listed "Categories" pages that showed stores grouped accordingly; and one "QuickLink to Stores" so visitors could jump to stores listed by name alone.
    >> Since iFrames are not "SE-friendly" and would not contribute to any "rank" or "relevance" I am able to maintain the convenience of the 2 Go Menus (and the global update ability) for visitors, but needed to add the entire list of "Category" Pages at the bottom of each page, each of which was linked to that page as in the Go Menu in the iFrame. Thus, the duplication of this important "element" in a SE-friendly format. And....it adds an aide to replace what some browsers can't see (and the alt tag instructs using this listing as an alternative) as well as doubles as a means for visually challenged visitors.

    This way, I was able to leverage the "interior link" aspect to counter-balance the presence of the many "one-way outbound links" the pages contained (each "Category" page listed individual stores with their affiliate banner links). Adding to this corrected perspective is the development of relevant Content on each of these pages, in the form of specific key words serving as a mini-index of the Category each page serves and short, concise introductions of each "store." Again, since the pages and store lineup is constantly changing, I find this task a lot easier sticking to a pure BV-based site, rather than going the dynamic php or true CSS way...

    This is what I did to retain the functionality this type of site required (Go Menus, and the global update aspect an iFrame provided) and still keep within the SEO guidelines of relevant Content, balance of interior links, effectually "halving" my outbound link metric, and being able to provide a "rankable" navigation metric to each page.

    I will be looking forward to building a php-based site in the future, for it will provide the dynamics that the newer "Perfect Page Model" algorithym is based on (originally hinting at CSS as the 'best-of-breed'), but I wanted to simply give a glimpse at how a "problem" was solved without loss of design, function, SEO metric, or attractiveness to a site.


    Just adding "my three cents"......(we all know I can't keep it to two! LOLOL)
    . VodaWebs....Luxury Group
    * Success Is Potential Realized *

  3. #203
    Join Date
    Feb 2007
    Location
    Brantford, Ontario Canada
    Posts
    124

    Default Something is not right with my pages

    I just switched my domain over to Voda today. I am still waiting for the pages to go over completely as I cannot yet see it here on my computer.

    However, somone on another forum sent me a message saying they could see it and there was problems with my menu etc. They did a view source and posted this to the forum:

    <DIV style="position:absolute;left:169px;top:10px;width :690px;height:101px;z-index:21" align="left">
    <?php
    include ("mycoffeegourmethdr.php");
    mycoffeegourmethdr();
    ?>

    </DIV>
    <DIV style="position:absolute;left:12px;top:107px;width :150px;height:601px;z-index:22" align="left">
    <?php
    include ("menu.php");
    menu();
    ?>

    </DIV>
    <DIV style="position:absolute;left:862px;top:126px;widt h:150px;height:585px;z-index:23" align="left">
    <?php
    include ("specials.php");
    specials();
    ?>

    </DIV>
    <DIV style="position:absolute;left:173px;top:1191px;wid th:687px;height:118px;z-index:24" align="left">
    <?php
    include ("footer.php");
    footer();
    ?>

    </DIV>



    As ncope also said, I'm getting a PHP error on some other pages too, though the left menu shows up there, but not much else. Here's the PHP error message:


    Code:Fatal error: Cannot redeclare menu() (previously declared in /home/kngxsdql/public_html/mycoffeegourmet/menu.php: in /home/kngxsdql/public_html/mycoffeegourmet/mycoffeegourmethdr.php on line 1
    Any ideas on what is wrong here?
    My Coffee Gourmet -I offer discounts to forum members, so pm me for the discount code!

    We Have Picnic Baskets - Your stop for picnic baskets, picnic backpacks, NCAA Logo Merchandise and more! PM me for a discount code!

    "What you not give up, No one can take from you!" - Our motto from our two month long strike this summer!

  4. #204
    Join Date
    Mar 2006
    Posts
    14,683

    Arrow Re: Something is not right with my pages

    Quote Originally Posted by coffeegourmet
    I just switched my domain over to Voda today. I am still waiting for the pages to go over completely as I cannot yet see it here on my computer.

    However, somone on another forum sent me a message saying they could see it and there was problems with my menu etc. They did a view source and posted this to the forum:



    Any ideas on what is wrong here?
    DNS has been changed to Voda1, and your site is up.

    The only thing wrong with your Menu is the layout....you need to align things, finish the edges (with borders or contrasting colors), and consider using a different style to better compliment your radiused shapes (try an elipitcal, or change the background shape to a rectangular?) or take the time to create your own buttons, thereby losing the white borders that glaringly show up against the background colors/shapes.

    Don't believe everything people tell you unless you have the opportunity to see for yourself!
    PS: Don't forget to refresh your browser to load the "new page"!


    >> You do know that this is the wrong Forum to post this issue, right?
    . VodaWebs....Luxury Group
    * Success Is Potential Realized *

  5. #205
    Bethers's Avatar
    Bethers is offline Major General & Forum Moderator
    Join Date
    Feb 2006
    Posts
    5,224

    Default Re: Single Menu Page with Bv and PHP

    He had made some critical errors in his coding. I've been having him fix them - and now have him working on fixing lots of the loose ends (like shapes not being positioned properly, etc). But the fatal errors are over with :)

    And it was the right forum because the errors all had to do with the php includes - which is why the pages were not showing sooner.

  6. #206
    Join Date
    Feb 2007
    Location
    Brantford, Ontario Canada
    Posts
    124

    Default Re: Single Menu Page with Bv and PHP

    Thanks for the advice!

    With Bethers help and advice, I have started changes already. I need her help because for some reason I still cannot see my own site on my computer!

    I am working on the menu bars and the lineup of the html boxes. I am sure there are more things out there, but I won't really see them until I can see it myself!

    The PHP was goofed up due to my own error, I didn't triple check my work... seems I pay the price and have to learn from mistakes!
    My Coffee Gourmet -I offer discounts to forum members, so pm me for the discount code!

    We Have Picnic Baskets - Your stop for picnic baskets, picnic backpacks, NCAA Logo Merchandise and more! PM me for a discount code!

    "What you not give up, No one can take from you!" - Our motto from our two month long strike this summer!

  7. #207
    Join Date
    Oct 2005
    Location
    Italy
    Posts
    12,080

    Default Re: Single Menu Page with Bv and PHP

    You are probably declaring the function menu() in mycoffeegourmethdr.php
    whilst you are also declaring it in "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!


  8. #208
    Join Date
    Oct 2005
    Location
    Italy
    Posts
    12,080

    Default Re: Single Menu Page with Bv and PHP

    Ooops! sorry, i was posting while you did.
    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!


  9. #209
    Join Date
    Feb 2007
    Location
    Brantford, Ontario Canada
    Posts
    124

    Default Re: Single Menu Page with Bv and PHP

    No problem Naval, I am so green to this voda stuff I need allllll the help a guy can get! *LOL*
    My Coffee Gourmet -I offer discounts to forum members, so pm me for the discount code!

    We Have Picnic Baskets - Your stop for picnic baskets, picnic backpacks, NCAA Logo Merchandise and more! PM me for a discount code!

    "What you not give up, No one can take from you!" - Our motto from our two month long strike this summer!

  10. #210
    Join Date
    Feb 2007
    Location
    Brantford, Ontario Canada
    Posts
    124

    Default Help!!!!!

    Okay I got the site to come up on my laptop so I have been going through to try and fix it up a bit....

    My header came up when I first looked at it now it just shows a red X there! Every other page is coming up fine!

    I will have to leave this till tomorrow, because I have gone through everything ,every page, all the codes are the same... Here is what I have pasted in my html box for the header on every page:
    <?php
    include ("mycoffeegourmethdr.php");
    mycoffeegourmethdr();
    ?>

    Does that look right cause it sure does to me!
    My Coffee Gourmet -I offer discounts to forum members, so pm me for the discount code!

    We Have Picnic Baskets - Your stop for picnic baskets, picnic backpacks, NCAA Logo Merchandise and more! PM me for a discount code!

    "What you not give up, No one can take from you!" - Our motto from our two month long strike this summer!

  11. #211
    Join Date
    Oct 2005
    Location
    Italy
    Posts
    12,080

    Default Re: Single Menu Page with Bv and PHP

    Which page is the one that is NOT showing the header ?
    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!


  12. #212
    Join Date
    Feb 2007
    Location
    Brantford, Ontario Canada
    Posts
    124

    Default Re: Single Menu Page with Bv and PHP

    Naval

    Unfortunately it is all of them!
    My Coffee Gourmet -I offer discounts to forum members, so pm me for the discount code!

    We Have Picnic Baskets - Your stop for picnic baskets, picnic backpacks, NCAA Logo Merchandise and more! PM me for a discount code!

    "What you not give up, No one can take from you!" - Our motto from our two month long strike this summer!

  13. #213
    Join Date
    Feb 2007
    Location
    Brantford, Ontario Canada
    Posts
    124

    Default Now it is working

    Okay so maybe I jumped the gun, now it is working okay... maybe it is still in transition... still lots to work on though!
    My Coffee Gourmet -I offer discounts to forum members, so pm me for the discount code!

    We Have Picnic Baskets - Your stop for picnic baskets, picnic backpacks, NCAA Logo Merchandise and more! PM me for a discount code!

    "What you not give up, No one can take from you!" - Our motto from our two month long strike this summer!

  14. #214
    Join Date
    Oct 2005
    Location
    Italy
    Posts
    12,080

    Default Re: Single Menu Page with Bv and PHP

    I was asking because i could already see your header before, and i was wondering which page had the problem.
    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!


  15. #215

    Default Re: Single Menu Page with Bv and PHP

    Hi Navaldesign

    I have made few menus on my site and they are working great. Now I'm trying to create another one following the same procedure, but I keep getting an error message:

    Fatal error: Call to undefined function: articles_menu() in /home/xxxxxxxx/public_html/laminate_flooring_installation.php on line 67


    Any ideas what this means or where I went wrong?


    Thank you
    Mike

  16. #216
    Join Date
    Oct 2005
    Location
    Italy
    Posts
    12,080

    Default Re: Single Menu Page with Bv and PHP

    I can see your page wit the menu alright.. http://www.atexflooring.ca/laminate_...stallation.php

    Isn't his the page ?
    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!


  17. #217

    Default Re: Single Menu Page with Bv and PHP

    Yes This is the page, but I removed the menu last night after many attempt. I will put it back on so you can see.


    Mike

  18. #218
    Join Date
    Oct 2005
    Location
    Italy
    Posts
    12,080

    Default Re: Single Menu Page with Bv and PHP

    Please post here the code of your "articles_menu.php" page
    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!


  19. #219

    Default Re: Single Menu Page with Bv and PHP

    This is the code



    <?php
    include ("articles_menu.php");
    articles_menu();
    ?>


    The page I published is www.atexflooring.ca/articles_menu.php

  20. #220

    Red face Re: Single Menu Page with Bv and PHP

    Hey Navaldesign

    It's ok. I got it sorted out. I copied and pasted it the html box from a previous menu and forgot to change the name in the start of the page, which is your step 2 "
    <? function menu() { ?>
    it should've benn
    <? function articles_menu() { ?>



    Mike

  21. #221

    Default Re: Single Menu Page with Bv and PHP

    Hi, I have read through this thread and nothing is changing on my site.

    Here is my site: www.industrialsuppliesandservices.com

    The menu bar you see on the left is the same one that is on the menu page you said I should make.
    Could this be the problem: instead of creating a blank page I cloned my index page and just deleted everything on it except for the navigation bar and renamed it "menu" page. Also that navigation bar is not made from the menu bar icon but is just shape boxes with text.
    Not even the "test number 2" which is on their is gone which I removed.

    Thanks much,
    Randy

  22. #222
    Join Date
    Oct 2005
    Location
    Italy
    Posts
    12,080

    Default Re: Single Menu Page with Bv and PHP

    What is the page that is calling the menu.php page ?
    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!


  23. #223

    Default Re: Single Menu Page with Bv and PHP

    I put the html block with the code inside to call the menu page on my index page and the blasting abrasives page. The link to which is found on the abrasives page just below the header.

    Thanks,
    Randy

  24. #224

    Default Re: Single Menu Page with Bv and PHP

    Can anyone help me? I dont know where to start in solving this problem

    Thanks,
    Randy

  25. #225

    Default Re: Single Menu Page with Bv and PHP

    Quote:
    "Ok, you are done. I’ll just take a minute to explain what you have done: You have created a menu bar. The php code you have placed in this page, has defined the html code of this page, as a php function, named “menu”. Then, in the main page, you are calling this page, and then, you just call the function “menu”, which creates the menubar in your page"

    What do you mean by the main page? Do you mean my home page or the index page?

    This whole sentence is very confusing:
    Then, in the main page, you are calling this page, and then, you just call the function “menu”, which creates the menubar in your page"

    Could you explain this.....Please!

    Thanks,
    Randy

  26. #226

    Default Re: Single Menu Page with Bv and PHP

    Ok!!! I got it all figured out and working. The key was to read the entire thread....ooops :)

    I simply had to go into my control panel and delete the old files plus change my link extensions to php. Didn't realize I had to do that.
    Good thing I'm just starting this site.

    Question about my navigation bar: It's not a BV menu bar. Its just text links on a background. Would I still be better off using a CSS text menu bar for SE purposes. Here is the link: www.industrialsuppliesandservices.com

    Also I read that SE dont like the BV drop down menu. Does that go for CSS drop down menus also.

    This forum and the help it gives is like nothing Ive seen.
    Thanks Blue voda
    Randy

  27. #227
    Join Date
    Oct 2005
    Location
    Italy
    Posts
    12,080

    Default Re: Single Menu Page with Bv and PHP

    A text menu is the same (as SE are concernes) as a CSS based text menu. And, it is the best solution for SE.
    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!


  28. #228
    Join Date
    Mar 2007
    Posts
    178

    Default Re: Single Menu Page with Bv and PHP

    Hi navaldesign,
    I have overreached myself! I followed your instructions (or so I thought) re a single menu page but I could not get it to work. All my shortcomings, I'm afraid. Now I've some pages with code all over them after I republished and I do not know how to get rid of it. My site is http://jamesbartondesign.com. If you go to the products page>military 1:8 scale you will see what I mean. If there is anything in this thread that I have not seen I own up to not reading it all (attention span issues) and will take a severe ticking off like a man.
    Regards,
    James.

  29. #229
    Join Date
    Oct 2005
    Location
    Italy
    Posts
    12,080

    Default Re: Single Menu Page with Bv and PHP

    I am not sure what you have done in there. If you wish, send me the menu page and the page itself, so i can have a look. In BV format please. Use my contact form twice to attach the files. Thanks
    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!


  30. #230
    Join Date
    Mar 2007
    Posts
    178

    Default Re: Single Menu Page with Bv and PHP

    Hi navaldesign,
    Have tried submitting via your form, but I get a message saying words to the effect that either my browser does not support cookies or it's an illegal submission. My browser does support cookies so I do not know what's wrong.
    Regards,
    James.

  31. #231
    Join Date
    Mar 2007
    Posts
    178

    Default Re: Single Menu Page with Bv and PHP

    Hi navaldesign,
    I think that I have cured my problem by deleting the php menu page by using file manager. I would like to use your single page menu because my site will be nearly 100 pages when finished. If I try again do I have to delete my navigation bar on published pages?

  32. #232
    Join Date
    Dec 2005
    Location
    Michigan
    Posts
    2,317

    Default Re: Single Menu Page with Bv and PHP

    James-
    I really like your site- nice job. The method that Navaldesign has put together is a real life saver and once you get the hang of it- it is really easy. I am in the process of re-doing my entire site incorporating this method.

    IF you need any help- I would be glad to assist. Simply contact me via my website contact form below and we'll get the bugs on this particular problem worked out. Or you can take Naval (the MASTER) up on his offer. He is one busy man.

    Cheers-

    Andy
    PHP- is a blast!

  33. #233
    Join Date
    Oct 2005
    Location
    Italy
    Posts
    12,080

    Default Re: Single Menu Page with Bv and PHP

    No, you don't need to delete anything, when you will publish the pages again (after editing them) the old files will be overwriten. Try again the form, or try http://www.dbtechnosystems.com/formexamples1.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!


  34. #234
    Join Date
    Mar 2007
    Posts
    178

    Default Re: Single Menu Page with Bv and PHP

    Hi navaldesign,
    Many thanks for your help, I cannot download the pages to you now as I deleted them. However, when I try again, I'm pretty sure I'll come running to you for help.

    Hi Andy,
    Your offer of help is much appreciated and I will take you up on it. You have had a look at my site and the thumnails: well, there will be scores more of them ( I have to assemble a sample of the complete range of statuettes, then photograph them, then load into the site: not an overnight job). As each thumbnail links to a separate page and adding pages is a continous job you can see how naval's single menu page would be a great help.

    Regards to both of you,
    James.

  35. #235
    Join Date
    Aug 2006
    Posts
    351

    Default Re: Single Menu Page with Bv and PHP

    Hey Navaldesign,

    I have a question for you. Since I developed a new store in BV using the new php method you designed, I was wondering if it is normal for a double head section to be published on all pages. And, would this hurt the SE search for my store?

    Also, is there any way to get rid of the second head section? I am curious because some folks have mentioned this.

    The new store in BV is http://ediblecafe.com

    The double head section is in ALL pages.

    Thanks for your help. Now I'm off to work.

  36. #236
    Join Date
    Oct 2005
    Location
    Italy
    Posts
    12,080

    Default Re: Single Menu Page with Bv and PHP

    If you leave the menu page Title, Author, Metatags etc blank, there is no problem with the double head.

    You can also do this: publish the menu page (as php) then download the file from your site. Open it in notepad.
    Staritng from the start of the code, delete those two lines (i am referring to YOUR page):

    <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
    <title>Menu</title>

    and these:

    <META name="revisit-after" content="5 days">
    <META name="robots" content="index, follow">
    <META name="Robots" content="All">

    Save, and upload the file again. This will result in your pages having only the main page metatags.
    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!


  37. #237
    Join Date
    Aug 2006
    Posts
    351

    Default Re: Single Menu Page with Bv and PHP

    Navaldesign,

    Thanks for the information. I am going to try it and see what happens.

  38. #238
    Join Date
    Aug 2006
    Posts
    351

    Default Re: Single Menu Page with Bv and PHP

    Navaldesign,

    I can't figure out how to get the page downloaded so I can attempt to fix this problem.

  39. #239
    Join Date
    Oct 2005
    Location
    Italy
    Posts
    12,080

    Default Re: Single Menu Page with Bv and PHP

    Connect with FTP to your site, and drag the menu.php file from your site to your computer. Just the opposite to what you do when you upload files from your computer to your 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!


  40. #240
    Join Date
    Aug 2006
    Posts
    351

    Default Re: Single Menu Page with Bv and PHP

    Navaldesign,

    Interestingly enough when I did drag the menu.php page from the right side of the FTP file I drug it to my desk top and opened it up in dreamweaver.
    The source indicated that it only had one head section. (Previously I had taken out the page title, as you suggested, and published.)

    But, even when I re-published the page there was still two head sections. I'm starting to not get this and getting frustrated.

  41. #241
    Join Date
    Oct 2005
    Location
    Italy
    Posts
    12,080

    Default Re: Single Menu Page with Bv and PHP

    Quote Originally Posted by ace5548
    Navaldesign,

    Interestingly enough when I did drag the menu.php page from the right side of the FTP file I drug it to my desk top and opened it up in dreamweaver.
    The source indicated that it only had one head section. (Previously I had taken out the page title, as you suggested, and published.)

    But, even when I re-published the page there was still two head sections. I'm starting to not get this and getting frustrated.
    Ok, let me explain:

    the main page (i.e. products, or services or whatever else) has it's own head part.

    The menu page, on the other hand, has it's own, because it is created as a page.
    So, when the main page calls the menu page, it automatically implements the whole memu page code, including it's head. That's why, whilst each page has only one head, when you view it on the browser, it has two: because it is the effect of combining the two files together.

    There is no problem if you have two heads. The problem would exist, if the menupage had, inside the head section, metatags, description etc, as the SE would not know which one (the one in the main page head or the one in the menu page head) is the correct one.
    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!


  42. #242
    Join Date
    Aug 2006
    Posts
    351

    Default Re: Single Menu Page with Bv and PHP

    Thank you very very much for this indepth explaination. It has helped me tremendously. If you can't tell already, I am still learning a lot about what I am doing.

    I really appreciate you getting back to my posts quickly. That and the absolutely great website builder are the reasons I am using BV.

  43. #243
    Join Date
    Jun 2006
    Posts
    11

    Default Re: Single Menu Page with Bv and PHP

    This REALLY Rocks. It is exactly what I had wanted.
    you can see my menu bar and the pictures above it wil now be dynamic and I will change when I feel like it for all pages... soon to be over 100

    www.moraismiranda.com

  44. #244
    Join Date
    May 2007
    Posts
    9

    Default Re: Single Menu Page with Bv and PHP

    This is great information, thanks.

    As I understand it, I need to create a different php page for every dynamic element I want to include on all of my web pages.

    Now, how do I go about making the layout of all these elements dynamic?

    I would guess I need to create a template with all the php elements laid out the way I want it... but that leads to several questions:

    1. How do I update the template?
    2. If I update the template, will it update all pages created by that template?
    3. I am guessing the answer to #2 is no, so how do I change the layout of my template page and have it update all my other pages?

    Thanks for the info!

  45. #245
    Join Date
    Oct 2005
    Location
    Italy
    Posts
    12,080

    Default Re: Single Menu Page with Bv and PHP

    1. If you use the method described, you simply update the template BV page.
    2. Yes, if the template is called from these pages. This is the purpose of using this method: to update all pages simply updating a single page.

    If you use the method for single elements (header, footer, menubar etc) each element page will have to be updated separately.
    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!


  46. #246
    Join Date
    May 2007
    Posts
    9

    Default Re: Single Menu Page with Bv and PHP

    Hmm... okay, then what are the advantages of using php and separate elements as opposed to just using the templates and updating them as need be?

    And... how do I update templates? I can't even figure out where they are saved, can't seem to open them for editing...

  47. #247
    Join Date
    Dec 2006
    Location
    Westren NY
    Posts
    207

    Default Re: Single Menu Page with Bv and PHP

    Quote Originally Posted by DrewDevil
    Hmm... okay, then what are the advantages of using php and separate elements as opposed to just using the templates and updating them as need be?

    And... how do I update templates? I can't even figure out where they are saved, can't seem to open them for editing...
    HI I know your not asking me But to make and update a templates you make your page as you would liek to see it without words adn save as a template then if you wnat to update it you can just open the page and re save as a template.

    Hope this has helped you.
    www.advertise.windameer.com - Add a Banner for your site or sites for free.

    www.windameersfleamarket4u.com - Buy Sell Trade with Windameer's Flea Market 4U ( 1 Year Free for BV sites)

    www.windameer.com - Come see our Angora Goats.


  48. #248
    Join Date
    Oct 2005
    Location
    Italy
    Posts
    12,080

    Default Re: Single Menu Page with Bv and PHP

    Quote Originally Posted by DrewDevil
    Hmm... okay, then what are the advantages of using php and separate elements as opposed to just using the templates and updating them as need be?

    And... how do I update templates? I can't even figure out where they are saved, can't seem to open them for editing...
    Maybe i have not understood well what you are after ?

    Imagine having a 100 page site, and you want to update the menubar (or the whole page template). You need to change all 100 pages.

    If you use this method, you only change your menu page, and all 100 pages are automatically updated.

    This method allowes you to have certain elements as standalone. You save them as individual pages and then you recall them from your pages. This way, if i.e. you change your menu bar, it is automatically updated in all your pages. isn't that an advantage ? isn't that what you were looking ?

    Please note that it is NOT necesary to save each element as independent page (header, footer, etc)

    You can save the whole page template, together with your menubar, banners and whatever else you like, and then recall it from your pages.

    I usually use this method ONLY for the menubar, as i like to have my template visble when i work with my pages.
    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!


  49. #249
    Join Date
    May 2007
    Posts
    9

    Default Re: Single Menu Page with Bv and PHP

    I am not making my questions clear.

    Let me try again.

    1. If I build a template without using any php, then create 100 pages from that template, then update the template, will it update those 100 pages automatically?

    2. If the answer to #1 is "yes," then what is the added benefit of php?

    3. If the answer to #1 is "no," then how do I use php and/or the templates so I can change the layout of all my pages (not the content of the php items, but where on the pages they are located).

    For example, let's say I have a php element for a form login box (user enters name and password). Originally, I put that box in the upper left corner of my template and create all 100 pages with that template.

    Now, I decide I want to move the login box to the upper right corner on all 100 pages. The form itself is not changing; I just want to re-position it.

    How can I do this without changing all 100 pages?

    Thanks!

  50. #250
    Join Date
    Oct 2005
    Location
    Italy
    Posts
    12,080

    Default Re: Single Menu Page with Bv and PHP

    Quote Originally Posted by DrewDevil
    I am not making my questions clear.

    Let me try again.

    1. If I build a template without using any php, then create 100 pages from that template, then update the template, will it update those 100 pages automatically?

    2. If the answer to #1 is "yes," then what is the added benefit of php?

    3. If the answer to #1 is "no," then how do I use php and/or the templates so I can change the layout of all my pages (not the content of the php items, but where on the pages they are located).

    For example, let's say I have a php element for a form login box (user enters name and password). Originally, I put that box in the upper left corner of my template and create all 100 pages with that template.

    Now, I decide I want to move the login box to the upper right corner on all 100 pages. The form itself is not changing; I just want to re-position it.

    How can I do this without changing all 100 pages?

    Thanks!
    1. No.
    2. Answered by 1. You cannot simply update the template and have your pages updated, unless you use the method described here.
    3. As described in post #1 in this very thread. The loggin form must be part of the page that you are calling through the php. If you move it in that page, since this page is called from all the others, your form will move in ALL pages.
    It is excactly the same as changing your menubar.
    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!


  51. #251
    Join Date
    Dec 2006
    Location
    Westren NY
    Posts
    207

    Default Re: Single Menu Page with Bv and PHP

    Navaldesign,

    Is there away to use this to put in a menu that scrolls down ? and if so how would you make it scroll down? I'm trying to make my menu on the left scroll down on this page please take a look.
    www.windameer.com/bucks.php

    thank you,
    Jolen
    www.advertise.windameer.com - Add a Banner for your site or sites for free.

    www.windameersfleamarket4u.com - Buy Sell Trade with Windameer's Flea Market 4U ( 1 Year Free for BV sites)

    www.windameer.com - Come see our Angora Goats.


  52. #252
    Join Date
    May 2007
    Posts
    9

    Default Re: Single Menu Page with Bv and PHP

    Quote Originally Posted by navaldesign
    3. As described in post #1 in this very thread. The loggin form must be part of the page that you are calling through the php. If you move it in that page, since this page is called from all the others, your form will move in ALL pages.
    It is excactly the same as changing your menubar.
    In post #1, you describe two php pages, and so I guess I am confused as to which page you mean when you say "the page that you are calling through the php."

    Aha! Do you mean physically move it in the "source php" page? I thought you had said the elements had to go in the upper left corner.

    Edit: you do say "Take care to place it in the upper left corner of the page (later we will see how you actually place it in your pages)."

    If the element has to be in the upper left corner, how can I move it?

    Okay that can't be right.

  53. #253
    Join Date
    Oct 2005
    Location
    Italy
    Posts
    12,080

    Default Re: Single Menu Page with Bv and PHP

    In the case of the menu bar, which is a single element, yes. If you use this method for a whole page template, then the page must be in the upper left corner, and the html box in your pages also. But, for the rest, all the elements in the source page must be positiones as they will appear in the final page.
    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!


  54. #254
    Join Date
    Dec 2006
    Location
    Westren NY
    Posts
    207

    Default Re: Single Menu Page with Bv and PHP

    Quote Originally Posted by DrewDevil
    Aha! You mean physically move it in the "source php" page? I thought you had said the elements had to go in the upper right corner.

    Edit: you do say "Take care to place it in the upper left corner of the page (later we will see how you actually place it in your pages)."

    If the element has to be in the upper left corner, how can I move it?
    Drew you only edit that page if you need to and in your pages you place a hml box where ever you want the menu to be.
    www.advertise.windameer.com - Add a Banner for your site or sites for free.

    www.windameersfleamarket4u.com - Buy Sell Trade with Windameer's Flea Market 4U ( 1 Year Free for BV sites)

    www.windameer.com - Come see our Angora Goats.


  55. #255
    Join Date
    May 2007
    Posts
    9

    Default Re: Single Menu Page with Bv and PHP

    Do I have to place/move the html box in each of the 100 pages? That's what I'm trying to avoid.

  56. #256
    Join Date
    Dec 2006
    Location
    Westren NY
    Posts
    207

    Default Re: Single Menu Page with Bv and PHP

    Quote Originally Posted by DrewDevil
    Do I have to place/move the html box in each of the 100 pages? That's what I'm trying to avoid.
    I used Navals single menu to put in my adress at the bottem of my page. I built it into my template and if it needs to be moved I move it. I also did the same for the work menu like that.

    every time i make a new page i got to file-new page-from temple and they are all places where I want them.

    dose this answer your qwuestion?

    What Naval has showed you here is a very nice way to do your menu's and it's very easy to do upkeep on it.

    Jolen
    www.advertise.windameer.com - Add a Banner for your site or sites for free.

    www.windameersfleamarket4u.com - Buy Sell Trade with Windameer's Flea Market 4U ( 1 Year Free for BV sites)

    www.windameer.com - Come see our Angora Goats.


  57. #257
    Join Date
    May 2007
    Posts
    9

    Default Re: Single Menu Page with Bv and PHP

    Quote Originally Posted by Windameer Farm
    I used Navals single menu to put in my adress at the bottem of my page. I built it into my template and if it needs to be moved I move it. I also did the same for the work menu like that.

    every time i make a new page i got to file-new page-from temple and they are all places where I want them.

    dose this answer your qwuestion?

    What Naval has showed you here is a very nice way to do your menu's and it's very easy to do upkeep on it.

    Jolen
    When you move the menu html box in your template, does it move the menu box on pages you have already created with the template?

    From what I read, I think the answer is no. Naval said updating the template does NOT update pages created previously created with the template.

    What I am trying to solve is the situation where I create 100 pages with a php element, then I want to physically move the element in the layout of those already created 100 pages.

  58. #258
    Join Date
    May 2007
    Posts
    9

    Default Re: Single Menu Page with Bv and PHP

    Quote Originally Posted by navaldesign
    In the case of the menu bar, which is a single element, yes. If you use this method for a whole page template, then the page must be in the upper left corner, and the html box in your pages also. But, for the rest, all the elements in the source page must be positiones as they will appear in the final page.
    Can you explain what you mean in this post again? I am sorry I am having so much trouble understanding.

  59. #259
    Join Date
    Dec 2006
    Location
    Westren NY
    Posts
    207

    Default Re: Single Menu Page with Bv and PHP

    Quote Originally Posted by DrewDevil
    When you move the menu html box in your template, does it move the menu box on pages you have already created with the template?

    From what I read, I think the answer is no. Naval said updating the template does NOT update pages created previously created with the template.

    What I am trying to solve is the situation where I create 100 pages with a php element, then I want to physically move the element in the layout of those already created 100 pages.
    Then I misunderstood what your trying to do. I did all mine from the start. You would have to frist install all the Hml boxes where you wnat them one each page you have if they are already done.
    I know where your comeing from I built my web site and then lost my computer so I had to rebuild it. I'm still working on it but this tile I'm doing it in php and useing alot of naval's tips and it's going along wonderfuly.

    Jolen
    www.advertise.windameer.com - Add a Banner for your site or sites for free.

    www.windameersfleamarket4u.com - Buy Sell Trade with Windameer's Flea Market 4U ( 1 Year Free for BV sites)

    www.windameer.com - Come see our Angora Goats.


  60. #260
    Join Date
    Oct 2005
    Location
    Italy
    Posts
    12,080

    Default Re: Single Menu Page with Bv and PHP

    Ok, let me explain: if you want to make changes to the whole template, and, by template i mean the background, the menu bar, the header (logo) footer, as well as ALL the elements that will be in ALL your pages, then you need to make a html box that will have the same dimensions of the template, and place it in the upper left corner of the pages that will be calling the template.

    In the template page, you can make ANY change withing the page limits. Once you save/publish the template page, all the pages will be automatically updated.

    let's see it in another way: the method, as proposed initially, was NOT intended for moving elements in your pages. It was intended as a way to update easily, the menubar links and buttons.

    However, it is quite easy to use it for moving elements also. You just move the element in the source page, and it will be moved in all pages.

    Of course, using this method, is based on having a html box in ALL your pages. After that you are done: whatever you change in the template page, changes in ALL page.
    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!


  61. #261
    Join Date
    May 2007
    Posts
    9

    Default Re: Single Menu Page with Bv and PHP

    Okay, that makes sense! Basically, I am going to have a giant 800 x 1200 HTML box on all my pages that will have ALL the dynamic elements in it. Then I can update or rearrange my php template and it will change the whole thing on every page. Sweet. Thanks!

  62. #262
    Join Date
    Oct 2005
    Location
    Italy
    Posts
    12,080

    Default Re: Single Menu Page with Bv and PHP

    Cool! You got it!
    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!


  63. #263
    Join Date
    Dec 2006
    Location
    Westren NY
    Posts
    207

    Default Re: Single Menu Page with Bv and PHP

    Naval,

    May I ask Your help with incorporating a single menu page into a script Please.

    You can e-mail me at jolen@windameer.com

    thank you Jolen
    www.advertise.windameer.com - Add a Banner for your site or sites for free.

    www.windameersfleamarket4u.com - Buy Sell Trade with Windameer's Flea Market 4U ( 1 Year Free for BV sites)

    www.windameer.com - Come see our Angora Goats.


  64. #264
    Join Date
    May 2007
    Posts
    21

    Default Re: Single Menu Page with Bv and PHP

    Quote Originally Posted by navaldesign
    You can hold your drop down and ad a text menu at the bottom of the page with your links. SE will spider those.
    Hi,
    Congratulations for your work. Excellent.

    This is my first time and my English may be bad as I'm writing from Portugal.

    My question: I like the drop down menus and I want to keep them. I'll use the bottom text menu solution to be "seen" by SE. But the problem is that when I insert the html box the menu doesn't work properly. The first row appears but the others don't show or if they can be seen they can't be clicked.

    Can you help me with this: www.doce-design.com
    Thank you. Maria João

  65. #265
    Join Date
    Oct 2005
    Location
    Italy
    Posts
    12,080

    Default Re: Single Menu Page with Bv and PHP

    This method works with dropdown menus. I suggest that you test your original menu to see if it works (by publishing a page with only the menu, without the php code) , and if does then come back and we can see about your problem
    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!


  66. #266
    Join Date
    May 2007
    Posts
    21

    Default Re: Single Menu Page with Bv and PHP

    thank for your quick answer.

    yes it does work without the php code as you can see here www.doce-design.com/index_ing.html

    maria

  67. #267
    Join Date
    May 2007
    Posts
    21

    Default Re: Single Menu Page with Bv and PHP

    Sorry,

    I don't know why but it seems to be working now.

    Thank you

  68. #268
    Join Date
    May 2007
    Posts
    21

    Default Re: Single Menu Page with Bv and PHP

    Now I'm having problems with links. Menus went crazy. I put the right links but when I publish they seem to be all mixed up. What to do?
    maria

  69. #269
    Join Date
    Dec 2005
    Location
    Michigan
    Posts
    2,317

    Default Re: Single Menu Page with Bv and PHP

    Remember when using the single menu (php include function) that all subsequent pages are now .php extension. So the links will have to be changed from .html to .php

    Also- they will only work once published. You will not be able to test them in preview.

    If that is not a correction to your problem- please post back.

    Andy
    PHP- is a blast!

  70. #270
    Join Date
    May 2007
    Posts
    56

    Default Re: Single Menu Page with Bv and PHP

    NOt to duplicate post.. but i am new and i thought i just posted a question in case i did not .. i seem to be having trouble with my php i got an error.. that i did not have before .. it was workign fine.. and then allof the sudden it went bad...

    i was wondering if anyone could help me fix this problem with my single menus
    Fatal error: Cannot redeclare menu() (previously declared in /home/jaszpuee/public_html/menu.php:7) in /home/jaszpuee/public_html/fmenu.php on line 22

    http://www.gabamarketing.com/


    Thanks in Advance Aaron

  71. #271
    Join Date
    May 2007
    Posts
    56

    Default Re: Single Menu Page with Bv and PHP

    Actually it was working fine till i tried to add a flash element on this page

    http://www.gabamarketing.com/HOWITWO...r-enlarger.php

    Then my text was not showing correctly and i started to get that error on my pages.

    Thanks again for everyones time in advance.

    Aaron

  72. #272
    Join Date
    May 2007
    Posts
    56

    Default Re: Single Menu Page with Bv and PHP

    I fixed it .. all i just need to change menu to fmenu on the fmenu page in the html

    this is fun
    Aaron

  73. #273
    Bethers's Avatar
    Bethers is offline Major General & Forum Moderator
    Join Date
    Feb 2006
    Posts
    5,224

    Default Re: Single Menu Page with Bv and PHP

    Glad you're enjoying it, Aaron - and, yep, isn't it nice that most mistakes now are our own :)

  74. #274
    Join Date
    May 2007
    Posts
    10

    Default Re: Single Menu Page with Bv and PHP

    hmmm...i tried this and my menu isn't showing up :-/ i checked 3 times and all steps were done. what could i be missing?

  75. #275
    Join Date
    Oct 2005
    Location
    Italy
    Posts
    12,080

    Default Re: Single Menu Page with Bv and PHP

    Please provide a link to both the menu page and the page where the menu isn't showing
    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!


  76. #276
    Join Date
    Mar 2007
    Posts
    11

    Default Re: Single Menu Page with Bv and PHP

    Hi everyone, i'm new here :) and pls excuse my english, i'm chinese :p

    Thanks everyone for providing the great tips, now i have implement the single menu page. but i have 1 question, at first i use CSS menu generator and when open my web page, it ask permission to open and it's annoying. is CSS same as javascript??

    then i switch to CSS tab designer 2, it didnt ask permission (it's great) to open the page, but everytime i update the code, i have to manually put in extra line to let the link open in new window, the default is to open in same window.

    now i have to use BV text menu, and it's simpler, but no fantasy button :( .
    Is there another free generator to recommends?
    Thanks again to all the experts out there ^-^

  77. #277
    Join Date
    Mar 2005
    Location
    Wilmington, Delaware USA
    Posts
    12,278

    Default Re: Single Menu Page with Bv and PHP

    Good Stuff

    VodaHost

    Your Website People!
    1-302-283-3777 North America / International
    02036089024 / United Kingdom
    291916438 / Australia

    ------------------------

    Top 3 Best Sellers

    Web Hosting - Unlimited disk space & bandwidth.

    Reseller Hosting - Start your own web hosting business.

    Search Engine & Directory Submission - 300 directories + (Google,Yahoo,Bing)



  78. #278
    Join Date
    Jul 2007
    Posts
    3

    Default Re: Single Menu Page with Bv and PHP

    First off...great tip. I have been trying to figure out php for a while, so I am hoping to implement this soon. I am a noob to BV and I have been wrestling with this for hours and cannot figure out what I am doing wrong. I am rebuilding our e-commerce website (www.bornathleticstore.com) and I know I need the php to make it easy to update. I Won't be changing the nameservers over until the site is done...so for now the site is at http://75.126.169.142/~upzrxcjf/. So far all I have published is a minimal index page (index.php) and the menu.php file just to test this out, but for some reason the menu will not show up. I have viewed the source code on the index page and all looks good from there...I think the menu.php file is in the wrong place...I've tried several different folders as well as no folder at all, but I don't know where it should go. Can anyone help?

    thanks-

    tb

  79. #279
    Join Date
    Jul 2007
    Posts
    3

    Default Re: Single Menu Page with Bv and PHP

    okay...I think I got the ftp problem squared away...but the thing still ins't right. See for yourself and please let me know what I need to do to get it to display properly.

    http://75.126.169.142/~upzrxcjf
    http://75.126.169.142/~upzrxcjf/index.php
    http://75.126.169.142/~upzrxcjf/menu.php


    thanks!

    tb

  80. #280
    Join Date
    Jul 2007
    Posts
    3

    Default Re: Single Menu Page with Bv and PHP

    I think I figured it out. This is pretty cool!

  81. #281
    Bethers's Avatar
    Bethers is offline Major General & Forum Moderator
    Join Date
    Feb 2006
    Posts
    5,224

    Default Re: Single Menu Page with Bv and PHP

    You were working while we were all sleeping- and answering your own questions :) I think, from what you told me last night, that you're switching to Soho, tho - good luck - where ever/however you build!

  82. #282
    Join Date
    Feb 2007
    Location
    the beautiful state of Kentucky
    Posts
    91

    Default Problems creating a footer using PHP

    I am having trouble getting a php footer to work on my web site. The site is published but I am redoing the template (and then all the pages). On the current publication, I was able to understand and put to use the info provided here to establish a php menu.


    I even printed the instructions given here, highlighted, and studied them to no avail. I need the code (apparently spelled out in plain English) that is required to do a footer. This is a link to my "problem".

    http://www.elizabethbaileyportraits....w_template.php

    This is the HTML I generated in order to achieve this mess:

    <? function footer() { ?>
    <center><font face="verdana" color="666666" size="1">Elizabeth Bailey Portraits<br>
    Represented by Garden Party Teas, Ltd. Co.<br>
    Bardstown, KY 40004<br>
    502-541-1844<BR><BR>
    <h3>Convenient to the Washington DC area 20194</h3></center><br>
    <center>The original oil paintings on this website were all created and copyrighted by<br> Elizabeth R. Bailey.<br>Other than the owners of the portraits presented here,<br>use of these images or their reproduction by any other <br>individual or organization is strictly prohibited.<br><p>
    <font size="2" face="Verdana"> <b><?php
    include ("footer.php");
    footer();
    ?>
    Any ideas as to what I have done wrong?

  83. #283
    Join Date
    Feb 2007
    Location
    the beautiful state of Kentucky
    Posts
    91

    Default Re: Single Menu Page with Bv and PHP

    It's working now, I don't know why, but it is! I didn't think I had made any changes to what i'd done but it is working!

  84. #284
    Join Date
    Oct 2005
    Location
    Italy
    Posts
    12,080

    Default Re: Single Menu Page with Bv and PHP

    Here is a simplified version:

    This is the code for the footer: save it as html and upload it in your site:

    <center><font face="verdana" color="666666" size="1">Elizabeth Bailey Portraits<br>
    Represented by Garden Party Teas, Ltd. Co.<br>
    Bardstown, KY 40004<br>
    502-541-1844<BR>
    <BR>
    <h3>Convenient to the Washington DC area 20194</h3></center>
    <br>
    <center>The original oil paintings on this website were all created and copyrighted by<br>
    Elizabeth R. Bailey.<br>
    Other than the owners of the portraits presented here,<br>
    use of these images or their reproduction by any other <br>
    individual or organization is strictly prohibited.<br>


    In your page, where you want the footer to appear, place instead this code:



    <?php
    include ("footer.html");
    ?>

    This is usually done placing a html box in your page (if you use BV) and placing it in the position you want the footer to appear.
    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!


  85. #285
    Join Date
    Feb 2007
    Location
    the beautiful state of Kentucky
    Posts
    91

    Default Re: Single Menu Page with Bv and PHP

    html? I got it to work saving as php instead of html. It's working so I don't want to touch it. But I am trying to do the same with the image in the header. I would like to occasionally be able to change this image.
    This is what I have now:
    http://www.elizabethbaileyportraits....w_template.php
    I have used this code in my feeble attempt to create a php file that would enable me to change the image.
    <? function sidemenu() { ?><!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
    <html>
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
    <title>head_image</title>
    <meta name="GENERATOR" content="Created by BlueVoda">
    </head>
    <body bgcolor="#FFFFFF" text="#000000">
    <div id="bv_" style="position:absolute;left:0px;top:0px;width:23 3px;height:125px;z-index:0" align="left">
    <img src="http://www.elizabethbaileyportraits.com/bv01037.gif"></div>
    </body>
    </html>
    I don't know how the other stuff got in there. All I put in was <img src="....">

    Is it possible to change this image through a php file? and if so, what is the code? thank you in advance.

  86. #286
    Join Date
    Feb 2007
    Location
    the beautiful state of Kentucky
    Posts
    91

    Default Re: Single Menu Page with Bv and PHP

    CORRECTION: This is what I put on my template in an html box where I want the image to be:
    <?php
    include ("sidemenu.php");
    sidemenu();
    ?>

    I saved the new template as a php and published. The php file (which I created in the upper left corner like the menu and footer) contains this code:

    <?php
    include ("sidemenu.php");
    sidemenu();
    ?><img src="http://www.elizabethbaileyportraits.com/bv01037.gif">

    I saved the header image file as "image.php and published and got nothing! Where is the error of my ways?
    http://www.elizabethbaileyportraits....w_template.php

    I'm going to get away from this for a while. It exhausts me.

  87. #287
    Join Date
    Oct 2005
    Location
    Italy
    Posts
    12,080

    Default Re: Single Menu Page with Bv and PHP

    Please understand that these are two different things that you need to do.

    1. Create the element that will be included. This may be a menu, a footer, a side menu, a Logo, anything.
    This page MUST start with

    <?
    function sidemenu() {
    ?>

    The second part is the actual code that creates the visual effect. In your case :

    <img src="http://www.elizabethbaileyportraits.com/bv01037.gif">




    in the case of a side menu (the name you asign to the function is NOT important, you could have evan called it "myheader" or "logo" or "mybanner" or whatever.

    As you see, you have missed the last part,

    <?
    }
    ?>

    So the complete code would be:

    <?
    function sidemenu() {
    ?>
    <img src="http://www.elizabethbaileyportraits.com/bv01037.gif">
    <?
    }
    ?>




    2. Then, in your template page, you need to have simply

    <?php
    include ("sidemenu.php");
    sidemenu();
    ?>

    in the html box.

    However, if you building the pages in BV you do NOT need to worry about correct coding. If you actually use BV, there are only two things to do:

    1. Create in BV a page with the element you want. In this case, the page must only have the image. The rest of the code you is automatically generated by BV. Place in the start of page

    <? function sidemenu() { ?>

    and, in the End of page:

    <?
    }
    ?>

    The second part, that described in step 2., is the same as described.
    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!


  88. #288
    Join Date
    Feb 2007
    Location
    the beautiful state of Kentucky
    Posts
    91

    Default

    Naval,
    I am still having a problem getting this to work in the header of my template. I am using BV. I have created the menu and footer in php in a new template. They both work fine. I have done the same thing for the image in the header and this is the result:
    http://www.elizabethbaileyportraits....w_template.php
    I am going to assume that this code means something to you. I simply don't understand it.

    There is a gray rectangle in the header. This is a background shape
    (serving as a border) that sits just under the image that is supposed to be there! I tried removing the rectangle to see if that was the problem but it was not, so I put it back.

    I went to my FTP manager and deleted all previous attempts at creating this element. I can send screen prints of the codes and where I placed them if that would help. I have gone over and over this but cannot find the problem. Sorry to be such a pest.

  89. #289
    Join Date
    Oct 2005
    Location
    Italy
    Posts
    12,080

    Default Re: Single Menu Page with Bv and PHP

    It seems that no "sidemenu.php" file exists on the server as i get a 404 error.

    Make sure that ou have published the page as "sidemenu" with it's properties set to be 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!


  90. #290
    Join Date
    Feb 2007
    Location
    the beautiful state of Kentucky
    Posts
    91

    Default php image in header

    Naval, I had chosen another name to save and upload the file not realizing it had to be sidemenu. After your last post, I deleted the old file, changed the name to "sidemenu.php" and published. It worked! but I still have some verbiage behind the image. It says:

    "Fatal error: Called to undefined function sidemenu() in home/pfvgmdxy/public_html/EBP_new_template.php on line 72"

    The verbiage is behind the image but shows to the right. I can quickly read what is under the image by clicking on refresh.
    http://www.elizabethbaileyportraits....w_template.php

    I tried moving the image location in the template and publishing again to see exactly where the verbiage was coming from and it stayed behind the image. Any idea as to what is causing this?

  91. #291
    Join Date
    Oct 2005
    Location
    Italy
    Posts
    12,080

    Default Re: Single Menu Page with Bv and PHP

    The code that you have added in your "sidemenu" page should be:
    <? function sidemenu() { ?>

    If you have named it anything else, the function "sidemenu" is not defined, so the script gives you that error.
    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!


  92. #292
    Join Date
    Mar 2007
    Posts
    11

    Default Re: Single Menu Page with Bv and PHP

    hi, i'm back :)

    i realise something about this kind of codes,

    <?php
    include ("sidemenu.php");

    sidemenu();
    ?>

    for my website, i use it for my leftside menu, rightside menu and my footer.

    for my leftside menu, i use

    <?php
    include ("leftsidemenu.php"); <---any name
    menu();

    ?>

    for my rightside menu, i use

    <?php
    include ("rightsidemenu.php");
    rightsidemenu();

    ?>


    i found out that leftsidemenu.php can also be any name but menu(); cannot be change. eg, if i change to leftsidemenu(); there is error and it need to be menu(); and other menu

  93. #293
    Join Date
    Oct 2005
    Location
    Italy
    Posts
    12,080

    Default Re: Single Menu Page with Bv and PHP

    What you are doing here is define functions and then call them in your page. It is obvious that a function can only be defined once. Redefining the same function will cause a conflict.
    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!


  94. #294
    Join Date
    Feb 2007
    Location
    the beautiful state of Kentucky
    Posts
    91

    Default Re: Single Menu Page with Bv and PHP

    I'll give up on this if it can't be resolved soon. I simply cannot believe my php file for the image in the header won't work especially since the menu and footer both work. And it does bring up the image. so what is causing the verbiage behind it? What does the message mean? Where is this line 72 ?


    <b>Fatal error</b>: Call to undefined function sidemenu() in <b>/home/pfvgmdxy/public_html/EBP_new_template.php</b> on line <b>72</b><br />

    I have worked on this for hours again today, tweeking everything I know to tweek. I even deleted the new_template and sidemenu.php files and started over. same result.

    I have other sites to build much more complex than this little one. If I can't get this fixed, I won't be very optimistic about all the rest I need to learn.

  95. #295
    Join Date
    Oct 2005
    Location
    Italy
    Posts
    12,080

    Default Re: Single Menu Page with Bv and PHP

    Use my form and send me all your related files. i will fix any errors and send the files back to you.
    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!


  96. #296
    Join Date
    Feb 2007
    Location
    the beautiful state of Kentucky
    Posts
    91

    Default Re: Single Menu Page with Bv and PHP

    You be giving up on me when you hear this question. How do I submit my files to you? I looked at "Your Form" but don't know how to add my files. Do I simply send you the link where they appear in my BV folder on my PC? That doesn't seem possible.....?

  97. #297
    Join Date
    Apr 2006
    Location
    X marks the spot
    Posts
    8,332

    Default Re: Single Menu Page with Bv and PHP

    Barb

    See where it says browse, etc below the questions? thats where you browse your hard drive for the files you want to send him. They upload and then he downloads to his computer.

    Karen

    VodaHost

    Your Website People!
    1-302-283-3777 North America / International
    02036089024 / United Kingdom
    291916438 / Australia

    ------------------------

    Top 3 Best Sellers

    Web Hosting - Unlimited disk space & bandwidth.

    Reseller Hosting - Start your own web hosting business.

    Search Engine & Directory Submission - 300 directories + (Google,Yahoo,Bing)



  98. #298
    Join Date
    Feb 2007
    Location
    the beautiful state of Kentucky
    Posts
    91

    Default Re: Single Menu Page with Bv and PHP

    tks, Karen, I'll do it now!

  99. #299
    Join Date
    Feb 2007
    Location
    the beautiful state of Kentucky
    Posts
    91

    Default Re: Single Menu Page with Bv and PHP

    No I won't. There is nothing on that form that allows me to upload a file. When I put in the file's path from my pc it says: "The field Site must be less than 30 characters !"

    What am I missing?

  100. #300
    Join Date
    Oct 2005
    Location
    Italy
    Posts
    12,080

    Default Re: Single Menu Page with Bv and PHP

    Yes, i had set this limitation. However, since that is NOT a required field, you could simply leave it blank. Try again now, i have set it to 60 chrs. I also added 3 more upload fields, so you don't need to upload one file at a time
    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!


Page 3 of 6 FirstFirst 123456 LastLast

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

     

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •