|
|
#1 (permalink) Top |
|
Geek
![]() |
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?
__________________
|
|
|
|
|
#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') ?> |
|
|
|
|
#3 (permalink) Top |
|
Geek
![]() |
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.
__________________
|
|
|
![]() |
| Bookmarks |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
|
|
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 |