|
|||||||
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
#1 |
|
Member (6 bit)
|
Hello,
I am working on building a site for my church, and I cannot remember how to do one very important thing... My site uses tables within tables to divide the page into sections, with a logo / welcoming picture on top, links on the left side and the main stuff in the middle under the top pic and left of the links. I am looking for a way to make it so if I want to change the links later on, I don't have to go through and update every single page with the new link. Is there a way to set it up so that I can change one link on one page and use that section of links for every page on the site? I've done it before on a hobby site I made for a dotcom that's gone bust, so I can't view my old coding, and I don't remember how I did it. Can someone please point me in the right direction? Thanks! Jake |
|
|
|
|
|
#2 |
|
Member (13 bit)
Join Date: Jul 2000
Location: Fullerton, CA
Posts: 7,030
|
Hi Jake,
There are two ways of doing it, one is with frames (the bad way) and one is with Server Side Includes. With frames you split up with browser window into two sections, one for the links and one for the main page. With SSI (using PHP or ASP for example) you just put all the link code into a "links.html" file and then "include(links.html)" where you want the code to appear. Hope that helps. |
|
|
|
|
|
#3 |
|
Member (11 bit)
Join Date: Apr 1999
Location: Quebec, Canada
Posts: 1,239
|
If you are using Dreamweaver, there are a couple of other ways.
1 - By making a tempate and then using the template to create your pages. If you ever update anything on the template, then it will automatically update every page that was created with that template. 2 - By using library items. You create a library itme and then drag it into the page(s) where you wnat that item to be. Any time you open ant edit that library item, Dreamweaver will ask if you want to update the other pages where that library item has been inserted.
__________________
------------------------------------------------------------------------- The solutions of today are the problems of tomorrow! ------------------------------------------------------------------------- Intel Motherboard, Antec 300 case, Intel Q8200 CPU, Antec 650w Truepower trio, WD 640 Blue, WD 750 Black, WD 1T Black, Radeon 4650, 14 in 1 card reader, (2X) LG dvd Super Multi, Acer 223X monitor, Logitech pro 9000 webcam, Logitech MX5500 keyboard and mouse, Intel 2 gigabit Network, Canon IP6600D Printer, Epson V600 Perfection scanner, Linksys WRT54GL router, windows 7, Windows Vista, Windows XP |
|
|
|
|
|
#4 |
|
Banned
Join Date: Oct 2002
Posts: 103
|
My opinion
you can use Find/Replace feature.find the code you r chaging for entire site and replace all with a new code link.Find/Replace is built into many site builders,including Dreamweaver!. |
|
|
|
|
|
#5 |
|
Member (6 bit)
|
Sorry, I don't use Dreamweaver or FrontPage or anything, just good ol' notepad. I can't afford those programs, and even to download a trial would take forever on 56K
Thanks though. Dr. Zaius, I may try your idea, it sounds as if it could work. I'll see what I can come up with. Thanks!Jake |
|
|
|
![]() |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|