Cascading changes throughout the website - without frames

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.



 Subscribe in a reader

Go Back   Webforumz.com > Main Forums > Design Your Website > Web Page Design

Notices


Reply
 
LinkBack Thread Tools
  #1  
Old Apr 17th, 2008, 12:42
New Member
Join Date: Mar 2008
Location: Leicester
Age: 22
Posts: 9
Thanks: 0
Thanked 0 Times in 0 Posts
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.
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 Apr 17th, 2008, 13:08
Reputable Member
Join Date: Jun 2007
Location: uk
Posts: 459
Thanks: 0
Thanked 0 Times in 0 Posts
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

HTML: Select all
<td><a href="index.html" target="_parent"><strong>Home</strong></a></td>
  </tr>
  <tr>
    <td><a href="courses.html" target="_parent"><strong>Courses</strong></a></td>
  </tr>
  <tr>
    <td><a href="latestinfo.html" target="_parent"><strong>Latest Information</strong></a></td>
  </tr>
  <tr>
    <td><strong><a href="link.html">Useful Links</a></strong></td>
  </tr>
  <tr>
    <td><strong><a href="aboutdmu.html">About DMU</a></strong></td>
  </tr>
  <tr>
    <td><strong><a href="aboutcse.html">About CSE</a></strong></td>
  </tr>
  <tr>
    <td><strong><a href="contactus.html">Contact Us</a></strong></td>
  </tr>
  <tr>
    <td><strong><a href="faqs.html">FAQ's</a></strong></td>
  </tr>
  <tr>
    <td><strong><a href="rss.html">RSS Feeds</a></strong></td>
  </tr>
  <tr>
    <td><strong><a href="wherearewe.html">Where are we?</a></strong></td>
  </tr>
</table>
then in the replace section add all the above code plus your new link and submit the request.(ensure it is set to "entire current local site")

I would strongly advise backing up your files before doing this as it is not reversible
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 Apr 17th, 2008, 15:05
Most Reputable Member
Join Date: May 2007
Location: UK
Age: 27
Posts: 1,111
Thanks: 0
Thanked 0 Times in 0 Posts
Re: Cascading changes throughout the website - without frames

Quote:
Originally Posted by pritmadlani View Post
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?
You're going to love this. It feels daunting at first, but once you start you'll be hooked:

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.
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 Apr 17th, 2008, 15:19
New Member
Join Date: Mar 2008
Location: Leicester
Age: 22
Posts: 9
Thanks: 0
Thanked 0 Times in 0 Posts
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.

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 Apr 18th, 2008, 09:09
Up'n'Coming Member
Join Date: Apr 2008
Location: manchester
Age: 32
Posts: 48
Blog Entries: 1
Thanks: 0
Thanked 0 Times in 0 Posts
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)
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 May 2nd, 2008, 11:11
New Member
Join Date: May 2008
Location: india
Age: 21
Posts: 8
Thanks: 0
Thanked 0 Times in 0 Posts
Re: Cascading changes throughout the website - without frames

i would deffinately go the PHP includes way,


_______________________________
Web Design Company
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 May 2nd, 2008, 11:32
welshstew's Avatar
Site Admin

SuperMember
Join Date: May 2007
Location: inside the outside
Posts: 1,691
Blog Entries: 14
Thanks: 3
Thanked 31 Times in 29 Posts
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 Site Admin
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)
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 May 2nd, 2008, 21:38
Reputable Member
Join Date: Apr 2008
Location: Or-Yehuda, Israel
Age: 60
Posts: 119
Thanks: 0
Thanked 3 Times in 3 Posts
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.
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 May 3rd, 2008, 09:35
Junior Member
Join Date: May 2007
Location: UK
Posts: 10
Thanks: 0
Thanked 0 Times in 0 Posts
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
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

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

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


All times are GMT. The time now is 18:55.


Powered by vBulletin®
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.2.0 RC8
© 2003-2008 Webforumz.com : 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