Irish SEO,  Marketing & Webmaster Discussion

 

Global footer like adobe.com & apple.co

This is a discussion on Global footer like adobe.com & apple.co within the Coding Help forums, part of the Webmaster Help category; We are trying to create a global footer on every page of a 100 page website We want to update ...


Go Back   Irish SEO, Marketing & Webmaster Discussion > Webmaster Help > Coding Help

Register Forum Rules FAQDonate Members List Calendar Search Today's Posts Mark Forums Read


Notices

Reply

 

LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 28-03-2008, 01:15 PM
Frontpage User
 
Join Date: Mar 2008
Posts: 7
Nominated 0 Times in 0 Posts
TOTW/F/M Award(s): 0
garymcginty will become famous soon enough
Send a message via Skype™ to garymcginty
Default Global footer like adobe.com & apple.co

We are trying to create a global footer on every page of a 100 page website


We want to update the global footer once a month and it a automatically updates on each of the pages


similar to adobe.com & apple.com where they have a global footer

What is the best way to do this, HTML, CSS, Java script?

pHp include / dynamic – but we are not sure how the search engines view this

thanks in advance

Last edited by garymcginty; 28-03-2008 at 01:21 PM. Reason: content
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 (permalink)  
Old 28-03-2008, 01:35 PM
Goodshape's Avatar
Coder
 
Join Date: Feb 2007
Location: Dublin
Posts: 59
Nominated 0 Times in 0 Posts
TOTW/F/M Award(s): 0
Goodshape will become famous soon enough
Send a message via MSN to Goodshape Send a message via Skype™ to Goodshape
Default

If you're using PHP, then a PHP include gets my vote. Search engines will handle this just fine as PHP is server side scripting.. so by the time the search engine views the page the include has already been made.

1) create a page - footer.php
2) put your footer content in there, and nothing else.
3) remove any existing footer information from other pages on your site and replace with :
Code:
<?php include 'footer.php'; ?>
And you're laughing. Only need to update footer.php in future to make site-wide changes.

This method also works well for headers and menus and basically anything else you want to be uniform throughout the entire site.

Last edited by Goodshape; 28-03-2008 at 01:39 PM.
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 (permalink)  
Old 28-03-2008, 03:31 PM
ziycon's Avatar
Wannabe Geek
 
Join Date: Jan 2007
Location: Dublin
Posts: 393
Nominated 0 Times in 0 Posts
TOTW/F/M Award(s): 0
ziycon will become famous soon enough
Send a message via MSN to ziycon Send a message via Skype™ to ziycon
Default

I agree with GoodShape, on mysites i have a function for the header and footer of the site so they are called on every page, so when i make a change it effects all pages!
Re-use of code is the only way to code!
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 (permalink)  
Old 31-03-2008, 09:41 PM
Coder
 
Join Date: Mar 2008
Posts: 77
Nominated 0 Times in 0 Posts
TOTW/F/M Award(s): 0
byronyasgur will become famous soon enough
Default

includes are the way .... and while you are at it you can do a header , statistics section, navigation section, anything you want. I built a whole site this way before C.M.S became popular and i had an includes file that i included in every page of the site. in that includes file, all the includes were defined like


define("FOOTER", "footer.inc.php");
define("HEADER", "header.inc.php");
define("WHATEVER", "section-of-code.inc.php");

so anytime i wanted a section on the page I could just write

include FOOTER;
include HEADER;
include WHATEVER;


meant i could make a change to one of the .inc.php pages and have it duplicate accross the site, and of course you could stick in a section of code, or move it etc quite easily by just moving 2 words and a semicolon
__________________
RainRain Web Design - OneWeekofDays
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

Tags
adobecom, appleco, footer, global

Thread Tools
Display Modes

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
Forum Jump


All times are GMT +1. The time now is 09:08 PM.


Powered by: vBulletin Version 3.7.3, Copyright ©2000 - 2008, Jelsoft Enterprises Limited.
Hosted in Ireland by Blacknight - Test your ISP |Irish Hosting Directory| Armchair.ie|Logo by Eden Web Design|Avatars by Afterglow |Latest Blog Entries | VPS HostingAd Management by RedTyger

Search Engine Friendly URLs by vBSEO 3.2.0