Go Back   Hardware Forums > Software Support Forums > Web Development

Reply
 
LinkBack Thread Tools
Old 30-06-2008, 08:06 PM   #1 (permalink) Top
Geek
 
m60dude5's Avatar
 
Join Date: Apr 2008
Posts: 92
Times Helpful: 4
My Mood: Pumped
Status: Offline

My Computer

Default Links Change A Lot, [Alternate Question]

I am trying to find the best way to update an intranet when links throughout the site change frequently. I have about 200 pages, html, that have some links to files on the server. The problem is, if any of those files are moved, renamed, etc, I have to go back and update every page it is linked from.
I know that if a link changes, I'll have to update it. However, I want to make that as simple as possible. I'm not sure how to go about this. I was thinking some sort of "reference page" that holds all the link locations. That way, I could link to that page from all the other pages, and then if a link changes, I just update it once on that reference page.
Thanks for any help, any ideas?

__________________
  Reply With Quote
Whats this? Ultra Flat Keyboard
Ultra Flat Keyboard
Seller Price (inc. VAT) Delivery Total Price Availability Seller Rating
Misco.co.uk £7.95 £2.34 £10.29 In Stock Rated: 4 out of 5 - Number of votes: 1351
Dell £17.90 Free £17.90 In Stock Rated: 0 out of 5 - Number of votes: 0
IT247.com £9.24 Free £9.24 In Stock Rated: 4 out of 5 - Number of votes: 38
Old 26-07-2008, 12:32 PM   #2 (permalink) Top
Geek Trainee
 
Join Date: Jun 2008
Posts: 3
Status: Offline
Hi,

The best thing i find is to use an include either by javascript or php to the a file which has the link in. Another way is to include a page with lots of variables, each one with a link stored in a variable. Then you've only got to change this one page.

The code if your pages are php is:

<? include('filenamehere.php') ?>
  Reply With Quote
Old 26-07-2008, 08:44 PM   #3 (permalink) Top
Geek
 
m60dude5's Avatar
 
Join Date: Apr 2008
Posts: 92
Times Helpful: 4
My Mood: Pumped
Status: Offline

My Computer

Thanks for the reply. I eventually used one main page, with all the links, each one with an anchor. I then displayed an iframe, that only displayed that line. It works well, even though I know PHP would have been better. I was trying to keep this an HTML only site. Thanks for your help though, I appreciate it.
__________________
  Reply With Quote
Reply

Bookmarks


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
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 Off
Pingbacks are On
Refbacks are On
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Web HTML for Links That Change Alot m60dude5 Web Development 2 30-06-2008 10:05 PM
Alternate BIOS jpr0 Laptops and PDA's 2 13-02-2008 04:51 PM
alternate driver site edijs General Hardware 1 04-04-2007 06:32 PM
Alternate way of installing nvidia drivers? sniperfox Video Cards, Displays and TV Tuners 3 13-03-2006 06:56 PM
Alternate acronyms Big B General Chat 3 17-09-2003 06:00 PM


All times are GMT +1. The time now is 09:47 AM.


Copyright © 2000 - 2008 · HARDWAREFORUMS.COM · All rights reserved