Forum Moderators: open

Message Too Old, No Replies

How to change all pages at the same time?

         

reddevil

7:17 am on May 4, 2005 (gmt 0)

10+ Year Member



Hi,

I am trying to add some link text into the Header of all my pages (at the moment there is just the logo).

Is there an easy way to do this - I am using Front Page 2003 but find and replace seems to restrict me to fewer characters than I need?

All pointers are appreciated.

Blackie

7:33 am on May 4, 2005 (gmt 0)

10+ Year Member



I would reccomend using of SSI, or script language (php, asp, etc) to make the header one file and make changes only one place.

But a search like this
[google.no...]
would give you some free software which can bring you more than Front Page Search&Replace.

wakinglion

1:29 pm on May 4, 2005 (gmt 0)

10+ Year Member



This is something that I need to do nearly every day and I always use Dreamweaver.

It's fast, easy and efficient.

Let me know if you want some help with it.

Steve

jo1ene

3:12 pm on May 4, 2005 (gmt 0)

10+ Year Member



Is Arachnophilia still around? I have an old copy. It has a search and replace function but you need to know a little html.

reddevil

5:15 pm on May 4, 2005 (gmt 0)

10+ Year Member



I am aware of the find and replace function but seem to have a problem with the amount of characters that it will take (I am using FP2003).

Any genuine help is appreciated.

Never_again

3:08 am on May 5, 2005 (gmt 0)

10+ Year Member



I use the Extended Search and Replace function in Macromedia's HomeSite all the time to replace code across thousands of pages.

abbeyvet

9:12 am on May 5, 2005 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Take time now to reverse engineer your site so that it uses include pages for things like the header, it will save you untold frustration in the future.

Search Google for "FrontPage includes Tutorial" if you don't know how to use them.

On the other hand if you already have thousands of pages try a search for "simple search/replace" which is free, easy and does the job nicely.

Having said that, if you do have thousands of page, you could also try creating an include on one and then using the search/replace to replace the header with the include webbot stuff - I am not sure if that will work with FP though, so test it out on a few pages first.

Pacific

2:56 am on May 6, 2005 (gmt 0)

10+ Year Member



I have both versions FP 2002 and 2003. One difference between the two is that 2002 only finds, or find and replaces, a limited number of charcters. The 2003 version allows multi-lines, lots of characters (I tried entering some sentences that added up to 604 characters and it accepted them in the larger-than-2002 verison.
Double check that you have the 2003 verison.

Alan

GarthRanzz

4:48 pm on May 6, 2005 (gmt 0)

10+ Year Member



wakinglion said:

This is something that I need to do nearly every day and I always use Dreamweaver.
It's fast, easy and efficient.

Let me know if you want some help with it.

Steve

How do you do this in Dreamweaver? I'm thinking of getting a copy for updating a site I'm developing but I've not used it before.

coho75

4:52 pm on May 6, 2005 (gmt 0)

10+ Year Member



How do you do this in Dreamweaver?

You simply use the find/replace function. You search for a term and replace it with the new term. This can be done across an entire directory at a time.

GarthRanzz

5:18 pm on May 6, 2005 (gmt 0)

10+ Year Member



You simply use the find/replace function. You search for a term and replace it with the new term. This can be done across an entire directory at a time.

I'll have to download the evaluation copy and try that. I take it you would open one page for editing and the find/replace has a trigger that allows you to chose the multiple documents?

Sorry if that sounds dense. I'm used to just redoing changes in multiple documents by hand in the code. If Dreamweaver can actually make this easier it will be a big selling point with me.

coho75

5:20 pm on May 6, 2005 (gmt 0)

10+ Year Member



I take it you would open one page for editing and the find/replace has a trigger that allows you to chose the multiple documents?

That is correct. There are some other editors available that can do this as well. If you don't use a coding language, this is probably the next best thing.

reddevil

7:33 am on May 7, 2005 (gmt 0)

10+ Year Member



Guys - FrontPage also has this facility.

As mentioned in a previous post, FP2002 and before limits the number of characters that you can replace using this function.

This means that I have to go out and buy FP2003 - but I can't afford to do this until my website makes me lots of money! Oh, the pain of being a webmaster!

GarthRanzz

3:06 am on May 8, 2005 (gmt 0)

10+ Year Member



I actually was able to use the template function to redo the pages I had been working on very quickly and simply. This will ease the need to update multiple pages.

I've always preferred working in native code but I do like the ability to use a template and view what I'm working on in the design view. I think Macromedia just made a sale.

MatthewHSE

12:35 pm on May 8, 2005 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



If the version of FP you have limits the capabilities of search and replace, then obviously you'll have to use some other alternative. There are scripts that will go through your site's files and replace text. Try this one [hotscripts.com] for starters. I've never used it before so I'm not sure how well it will work, but it sounds good from the description.

Also, you might try getting a free text editor, like EditPad Lite, which allows you to open all files in a directory (you can include subdirectories if you like). You can then use its truly superb find-and-replace function to go through all open files. Do your stuff, then save the files and re-upload to your site.

Be sure to backup your site before attempting massive changes like this, no matter what method you use.

reddevil

1:52 pm on May 8, 2005 (gmt 0)

10+ Year Member



Matthew,

Thanks for the useful info.

I am a little edgy about using scripts but after researching your comments I have found html-kit which seemed to be widely recomended.

It seems to have so many facilities that it could take me years to learn things, but lets hope it has a simple find and replace button.

g1smd

10:26 pm on May 8, 2005 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month




With find and replace, in an editor, you will have to reload every page of your site to the webserver after editing.

"Server side includes" and "PHP includes" are another solution. With those, only the header file will need to be edited and reloaded.

GeorgeK

10:46 pm on May 8, 2005 (gmt 0)

10+ Year Member



WildEdit might be a solution:

[textpad.com...]

I used it to do changes to a 1000+ page site, and it worked well.

reddevil

8:17 am on May 9, 2005 (gmt 0)

10+ Year Member



good point g1smd, I will have to upload all the pages again - that is a pain.

This will give me some incentive to use php.

The textpad.com site would be OK but I don't fancy paying for something when it is possible to use something similar for nothing - what a cheapo?