Old 11-06-2007, 12:06   #1 (permalink)
seth700
Registered User
 
Join Date: Jun 2007
Posts: 1
How do you do this..?

Firstly i'll appologise if this is in the wrong forum category. Anyway...

I've just been looking at the BBC News website (news.bbc.co.uk). I noticed that all of the webpages have the same information on the side of them - i.e. the most popular list and related links. My question is would these pages use frames to display the most popular page or some kind of server include?

What I want to try and achieve is a website that has many pages but all of which have the same layout and information on the border, but obviously the main text on the page would be different. Therefore I would only have to edit the layout of the 'master template' and all the other pages would be updated. Is frames the easiest way of achieving this?

Thanks
  Reply With Quote
Old 11-06-2007, 12:23   #2 (permalink)
d*d
Moderator
 
d*d's Avatar
 
Join Date: Oct 2004
Location: Bristol
Posts: 3,285
I use server side includes to do this, I have the html for the side bar stored in a directory and I add itto any page I need it on with a php include() function - alsao handy for headers, menus and footers
  Reply With Quote
Old 12-06-2007, 05:20   #3 (permalink)
brendan hart
Invincisible
 
brendan hart's Avatar
 
Join Date: May 2007
Posts: 221
Send a message via MSN to brendan hart
yeah with jsp i use an include function

<%@ include file="sidebar.jsp/html" %>
  Reply With Quote
Old 12-06-2007, 06:40   #4 (permalink)
rohit
Registered User
 
Join Date: Jun 2007
Posts: 5
u can either use SSI (server side includes). So you can write header.html and include it in each page

or use php/perl/asp or any other scripting languages

use Apache Header modules (dont know the exact module name)

Cheers

Rohit
www . freewebsitequotes . com
  Reply With Quote
Reply



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

Advanced Search


Contact Us - Web Design Forums - Archive - Top
Search Engine Optimization by vBSEO 3.0.0 RC8