This is a discussion on "Cascading changes throughout the website - without frames" within the Web Page Design section. This forum, and the thread "Cascading changes throughout the website - without frames are both part of the Design Your Website category.
|
|
|
|
|
![]() |
||
Cascading changes throughout the website - without frames
|
||
| Notices |
![]() |
|
|
LinkBack | Thread Tools |
|
#1
|
|||
|
|||
|
Cascading changes throughout the website - without frames
Hi,
I am currently building a website and am wondering if there is a way that I can change a section on a website once - which then will automatically change on other the other pages. The website that I am working on is: http://www.cse.dmu.ac.uk/~p04283218/mainframe8/ As it can be seen - on the left-hand side of the page - there is the navigation section. If I was to add a new link called 'Gallery' (for example), is there an easier way to add it to all the pages - rather than going through them individually? Your help is much appreciated. |
|
|
|
#2
|
|||
|
|||
|
Re: Cascading changes throughout the website - without frames
There is a way to do it but it can be dangerous, and that is use the find and replace tool.
for example find the piece of code you want replaced in your case
I would strongly advise backing up your files before doing this as it is not reversible |
|
#3
|
|||
|
|||
|
Re: Cascading changes throughout the website - without frames
Quote:
PHP includes. Don't be scared off because PHP is a scripting language. You don't need to touch the gritty programming side of it unless you want to. Okay, so you have to set up a local webserver if you want to develop locally (which most people do). But that's not too hard either: WAMP server. |
|
#4
|
|||
|
|||
|
Re: Cascading changes throughout the website - without frames
Thanks for that Mike - I will definitely have a look at that later on today.
Appreciate it. |
|
#5
|
|||
|
|||
|
Re: Cascading changes throughout the website - without frames
i would deffinately go the PHP includes way, as it means your pages can be cleaner - like having headers footers and navigation sections all in their own includes - plus u dont have to be a good php'er to do them - I can do them for cripes's sake
Last Blog Entry: When accessibility is not your problem (Apr 24th, 2008)
|
|
#6
|
|||
|
|||
|
Re: Cascading changes throughout the website - without frames
|
|
#7
|
||||
|
||||
|
Re: Cascading changes throughout the website - without frames
you can also use asp includes as well
http://www.w3schools.com/asp/asp_incfiles.asp
__________________
WelshStew If you think I've helped, click the "Thanks" tierney rides tboard - uk site | xtreme wales - extreme clothing WebForumz - facebook | LinkedIn
Last Blog Entry: Phorm approved for UK rollout (Sep 17th, 2008)
|
|
#8
|
|||
|
|||
|
Re: Cascading changes throughout the website - without frames
If it is just the navigation menu that you want common to all pages, a simple SSI will do.
|
|
#9
|
|||
|
|||
|
Re: Cascading changes throughout the website - without frames
Hi,
just for future reference ASP.Net 2 (Visaul Studio 2005) has a "Master Page" option designed for this exact purpose |
![]() |
| Thread Tools | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| need help with a website... trying to avoid *shudders* frames | dmccaulley | Web Page Design | 2 | Aug 31st, 2007 12:34 |
| Nav Bar/Frames - Plz help!!! | design4586 | Graphics and 3D | 2 | Jun 14th, 2006 16:26 |
| Need help with frames | Amanda_Greear | Web Page Design | 7 | Nov 26th, 2005 01:32 |
| I Frames | taco | Web Page Design | 8 | Mar 2nd, 2004 02:54 |
| I need help with frames!!!! | courtjester | Web Page Design | 2 | Sep 20th, 2003 07:30 |