Web Hosting Vodahost    

Home Take The Royal Tour! Order Now Features Prices
Go Back   Web Hosting > BlueVoda Website Builder Forums > BlueVoda Tips, Tricks and Shortcuts

Notices

BlueVoda Tips, Tricks and Shortcuts Know a great BlueVoda (or Web design) tip or trick? Share it with the world here. Become famous for your brilliance! Please, No Questions or Problems!

Reply
 
LinkBack Thread Tools
  #241  
Old 04-21-2007, 10:31 AM
navaldesign's Avatar
General & Forum Moderator
 
Join Date: Oct 2005
Location: Italy
Posts: 9,035
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!

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #242  
Old 04-21-2007, 10:50 AM
ace5548's Avatar
Major
 
Join Date: Aug 2006
Posts: 337
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.
__________________
Ted

Picnic Baskets and Wine totes to make your travels a happy occasion every time.
http://www.picnicdelights.net

Security and Safety products for you, your family, and your business.
http://www.nwsecurityproducts.com

Losing control? Gain more self-control through terrific self-help programs.
http://www.firesiderecovery.com

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #243  
Old 04-21-2007, 05:34 PM
Corporal
 
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
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #244  
Old 05-03-2007, 06:00 PM
Private First Class
 
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!
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #245  
Old 05-03-2007, 06:09 PM
navaldesign's Avatar
General & Forum Moderator
 
Join Date: Oct 2005
Location: Italy
Posts: 9,035
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!

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #246  
Old 05-03-2007, 06:28 PM
Private First Class
 
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...
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #247  
Old 05-03-2007, 06:39 PM
Captain
 
Join Date: Dec 2006
Location: Westren NY
Posts: 218
Send a message via ICQ to Windameer Farm
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.

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #248  
Old 05-03-2007, 08:05 PM
navaldesign's Avatar
General & Forum Moderator
 
Join Date: Oct 2005
Location: Italy
Posts: 9,035
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!

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #249  
Old 05-03-2007, 08:20 PM
Private First Class
 
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!
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #250  
Old 05-03-2007, 08:25 PM
navaldesign's Avatar
General & Forum Moderator
 
Join Date: Oct 2005
Location: Italy
Posts: 9,035
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!

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #251  
Old 05-03-2007, 08:36 PM
Captain
 
Join Date: Dec 2006
Location: Westren NY
Posts: 218
Send a message via ICQ to Windameer Farm
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.

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #252  
Old 05-03-2007, 08:39 PM
Private First Class
 
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.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #253  
Old 05-03-2007, 08:50 PM
navaldesign's Avatar
General & Forum Moderator
 
Join Date: Oct 2005
Location: Italy
Posts: 9,035
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!

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #254  
Old 05-03-2007, 08:51 PM
Captain
 
Join Date: Dec 2006
Location: Westren NY
Posts: 218
Send a message via ICQ to Windameer Farm
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.

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #255  
Old 05-03-2007, 09:10 PM
Private First Class
 
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.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #256  
Old 05-03-2007, 09:17 PM
Captain
 
Join Date: Dec 2006
Location: Westren NY
Posts: 218
Send a message via ICQ to Windameer Farm
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.