Click to See Complete Forum and Search --> : Help
nowhereman
02-13-2004, 12:20 PM
I was wondering if there was a script available for updating information on my pages by just making changes in one file? If my site has 10 page and they all have the same text and pic in one area of the page (lets say it's on the right side of the page and is in a table that is 200 px wide - this is general stuff about the site) I have to go to each page and make the same change (cut & paste) and then upload all of the pages to my site.
Any help out there?
I'd appreciate it.
96turnerri
02-13-2004, 12:41 PM
you best bet for this would be php include()
<?php include("page.htm"); ?> that is if you have php installed on your server
JackTheTripper
02-13-2004, 01:05 PM
If you have access to a program like Dreamweaver or GoLive they have a global find and replace.
BrainDonor
02-13-2004, 01:14 PM
www.ultraedit.com
download the trial and use the "search and replace in files" function to search thru and change numerous files.
:-)
my .02 cents
etLux
02-14-2004, 07:41 PM
One way to do it might be an iframe in a layer. I recently wrote a couple of script/tutorials on this that I think you might be able to easily adapt for this, if I follow what you are trying to do.
Have a look at these...
Using IFRAME To Put A Page Within A Layer
http://www.fffast.com/scripts/script_iframing.shtml
Layer Menu Uses External HTML Page
http://www.fffast.com/scripts/script_iframe_menu.shtml
The main difference between the two is that the first is for pages contained within the iframed layer; whilst the second covers handling links external to the iframe, such as in a menuing application.