Web Hosting Vodahost    

Home Take The Royal Tour! Order Now Features Prices
Go Back   Web Hosting > VodaHost Web Hosting Support > mySQL & PHP

Notices

mySQL & PHP Discussions, information and help with mySQL and PHP.

Reply
 
LinkBack Thread Tools
  #1  
Old 03-31-2007, 02:27 PM
First Lieutenant
 
Join Date: May 2006
Location: Gorgeous Tampa Bay, FL
Posts: 154
Send a message via Yahoo to Leeza
Smile PHP for menu bar

Good morning,

I've just followed Naval's instrux to use PHP for my menubars. I'm not at all savvy about this, CSS, I-frame or anything else that's discussed in the tutorial he gave, so I want to be sure I do this absolutely correct. I created a new menu page, and I'm at the point of publishing- when I open the publish box there is an area there that says "FOLDER" and within it, automatically written is public_html. In the tutorial it says to be sure to publish the page as PHP. Should I be changing the "FOLDER" content? To what? public_php? Or just leave it alone....

Thanks for your help, and Happy Saturday!
Leeza
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #2  
Old 03-31-2007, 02:41 PM
navaldesign's Avatar
General & Forum Moderator
 
Join Date: Oct 2005
Location: Italy
Posts: 9,346
Default Re: PHP for menu bar

By default the Folder field is "public_html". Your pages, by default will aslo be published in "public_html". So, also the menu page (which has to ve php, please set, in page properties the file extension to be php when published) must be published in "public_html".
__________________
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!

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #3  
Old 03-31-2007, 02:49 PM
First Lieutenant
 
Join Date: May 2006
Location: Gorgeous Tampa Bay, FL
Posts: 154
Send a message via Yahoo to Leeza
Default Re: PHP for menu bar

Ok, so my understanding is that the only place I change to read "php" is in page properties. Another question- as I read further, since I already have my pages made, it appears that I should delete the menubars currently there and replace them with the menu page I just made using html. Right?
And what about linking that new menu page I publish? I don't see that I would, but figured I'd better ask. Thanks!
Leeza
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #4  
Old 03-31-2007, 04:14 PM
navaldesign's Avatar
General & Forum Moderator
 
Join Date: Oct 2005
Location: Italy
Posts: 9,346
Default Re: PHP for menu bar

You must delete the menu bars from your pages. In their place, you must place a html box, with the code as per tutorial. This code, will "call" the menu" page that you have published, and place it in the position occupied by the html box. Both the menu page and the main page(s) need to be published as 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!

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #5  
Old 03-31-2007, 09:59 PM
Bethers's Avatar
Major General & Forum Moderator
 
Join Date: Feb 2006
Posts: 5,218
Default Re: PHP for menu bar

Leeza,
I've been gone for 2 days - and am so glad to see you've gone ahead with this!!! Naval is a doll and will steer you right.

I've got your last emails - will be catching up there tomorrow, I hope :)
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #6  
Old 04-01-2007, 03:37 PM
First Lieutenant
 
Join Date: May 2006
Location: Gorgeous Tampa Bay, FL
Posts: 154
Send a message via Yahoo to Leeza
Default Re: PHP for menu bar

Thanks Naval, just saw this reply this morning. I will do those pages that way. Then, how can I check to be sure what I've done actually works?
(and Bethers, quit hiding lol!)
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #7  
Old 04-01-2007, 04:36 PM
First Lieutenant
 
Join Date: May 2006
Location: Gorgeous Tampa Bay, FL
Posts: 154
Send a message via Yahoo to Leeza
Default Re: PHP for menu bar

11 a.m. --- ok I've done everything in the tutorial. When I preview my page, the area where the menubar should be and html box IS, is blank. Should this be so and it would only be seen when actually published? (have to run out, I'll be back in a couple hrs. in case you reply)...and as always, thanks very much for your help!!!
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #8  
Old 04-01-2007, 06:03 PM
Bethers's Avatar
Major General & Forum Moderator
 
Join Date: Feb 2006
Posts: 5,218
Default Re: PHP for menu bar

Yes, that area will be blank until published - so it sounds like you did it right. :)
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #9  
Old 04-01-2007, 06:55 PM
navaldesign's Avatar
General & Forum Moderator
 
Join Date: Oct 2005
Location: Italy
Posts: 9,346
Default Re: PHP for menu bar

Yes. Php is a server side language, so it only works when the pages are published on the server.
__________________
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!

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #10  
Old 04-02-2007, 05:11 AM
First Lieutenant
 
Join Date: May 2006
Location: Gorgeous Tampa Bay, FL
Posts: 154
Send a message via Yahoo to Leeza
Default Re: PHP for menu bar

THANK YOU THANK YOU NAVAL AND BETHERS!!!...Now I guess I'll just say a little prayer for each page I do this to...and then we can test and see if indeed, I did do it right.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #11  
Old 04-04-2007, 04:58 PM
First Lieutenant
 
Join Date: May 2006
Location: Gorgeous Tampa Bay, FL
Posts: 154
Send a message via Yahoo to Leeza
Default Re: PHP for menu bar

Another day, another question... two, actually.

I'm buried in bettering my site, but these questions came to mind as I was thinking. First, in doing the PHP for menubars, I realized that below the menu yet in the same "space/box" I have added information and/or links. Can these remain or must I post them elsewhere?

e.g. take a peek at www.colourtherapyspa.com/color_therapy_healing.html
and you should be able to see what I mean.

Also, I have a disclaimer about my business on that page. Does anyone know if such a disclaimer must be put on every page, or can I have a menu button titles "disclaimer" and just put the info there?

Thanks as always for your wonderful assistance!
Leeza
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #12  
Old 04-04-2007, 07:34 PM
Bethers's Avatar
Major General & Forum Moderator
 
Join Date: Feb 2006
Posts: 5,218
Default Re: PHP for menu bar

The link you gave doesn't work :) -

But - you can put the entire column in the php or you can keep that separate on the page - whichever you prefer :) If that is going to stay the same on each page, then it would make sense to keep it in the php menubar page. If that information below the menubar is going to change on different pages - you do NOT want to include it.

As to the disclaimer - Chances are it can be put as a link - and doesn't need to be on every page - but it's really up to you. If it's something that you think needs to be on every page - then do it that way.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


All times are GMT +1. The time now is 03:09 AM.


Powered by vBulletin® Version 3.7.4
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0 RC7
2005-2009 VodaHost Web Hosting Your Perfect Web Host - All Rights Reserved

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176