Problem with replacing html in multiple pages

C

Chris Parry

Good day,

I have a problem in one particular sub directory of my site that mean I have
replace code within an image tage over around 50 pages (a path error). I am
using FP2003.

I want to replace them all at once, but I find that the 'find in source
code' check button is greyed out when I select 'replace', even when I have
all pages open and the view set to code.

I have also tried selecting the multiple pages on the server without opening
them, and still the same problem.

Also, because it is only a portion of the image tag that is wrong, is it
possible to replace say:

.../fr/

with:

/fr_2/

does one have to use a wildcard in the search?

Does anyone have a solution to this?

Thanks
Chris
 
S

Stefan B Rusynko

Make sure you have the site open in FP
- not just the pages

Yes you can replace
/fr/
with
/fr_2/

--

_____________________________________________
SBR @ ENJOY (-: [ Microsoft MVP - FrontPage ]
"Warning - Using the F1 Key will not break anything!" (-;
_____________________________________________


| Good day,
|
| I have a problem in one particular sub directory of my site that mean I have
| replace code within an image tage over around 50 pages (a path error). I am
| using FP2003.
|
| I want to replace them all at once, but I find that the 'find in source
| code' check button is greyed out when I select 'replace', even when I have
| all pages open and the view set to code.
|
| I have also tried selecting the multiple pages on the server without opening
| them, and still the same problem.
|
| Also, because it is only a portion of the image tag that is wrong, is it
| possible to replace say:
|
| ../fr/
|
| with:
|
| /fr_2/
|
| does one have to use a wildcard in the search?
|
| Does anyone have a solution to this?
|
| Thanks
| Chris
|
|
|
 
C

Chris Parry

I have the site open, and I've even tried it live on the remote server too,
but still that greyed out radio button!

At a bit of a loss now to be honest - I hope I don't have to do them all
manually :-(

Chris
 
T

Thomas A. Rowe

You have to search for each group of pages based on how the link is written, unless you do a search
and replace for fr/ with fr_2/.

FP doesn't support links that start with just a / as the first character. Link must be written like
one of the following:

filename.htm
folder/filename.htm
.../filename.htm
.../folder/filename.htm


--
==============================================
Thomas A. Rowe
Microsoft MVP - FrontPage

http://www.Ecom-Data.com
==============================================


Chris Parry said:
I have the site open, and I've even tried it live on the remote server too, but still that greyed
out radio button!

At a bit of a loss now to be honest - I hope I don't have to do them all manually :-(

Chris


Stefan B Rusynko said:
Make sure you have the site open in FP
- not just the pages

Yes you can replace
/fr/
with
/fr_2/

--

_____________________________________________
SBR @ ENJOY (-: [ Microsoft MVP - FrontPage ]
"Warning - Using the F1 Key will not break anything!" (-;
_____________________________________________


| Good day,
|
| I have a problem in one particular sub directory of my site that mean I have
| replace code within an image tage over around 50 pages (a path error). I am
| using FP2003.
|
| I want to replace them all at once, but I find that the 'find in source
| code' check button is greyed out when I select 'replace', even when I have
| all pages open and the view set to code.
|
| I have also tried selecting the multiple pages on the server without opening
| them, and still the same problem.
|
| Also, because it is only a portion of the image tag that is wrong, is it
| possible to replace say:
|
| ../fr/
|
| with:
|
| /fr_2/
|
| does one have to use a wildcard in the search?
|
| Does anyone have a solution to this?
|
| Thanks
| Chris
|
|
|
 
C

Chris Parry

I think you misunderstand me Thomas - using fr/ and fr_2/ was merely an
example wildcard.

The problem I have is that the directory were the path needs correcting is
the image folder which contains around 100 images - this is why I need to
use a wildcard to change just the path as opposed to the entire <img> tag
(as every tag is for a different image, but same path).

I think this might be my problem!

Chris


Thomas A. Rowe said:
You have to search for each group of pages based on how the link is
written, unless you do a search and replace for fr/ with fr_2/.

FP doesn't support links that start with just a / as the first character.
Link must be written like one of the following:

filename.htm
folder/filename.htm
../filename.htm
../folder/filename.htm


--
==============================================
Thomas A. Rowe
Microsoft MVP - FrontPage

http://www.Ecom-Data.com
==============================================


Chris Parry said:
I have the site open, and I've even tried it live on the remote server
too, but still that greyed out radio button!

At a bit of a loss now to be honest - I hope I don't have to do them all
manually :-(

Chris


Stefan B Rusynko said:
Make sure you have the site open in FP
- not just the pages

Yes you can replace
/fr/
with
/fr_2/

--

_____________________________________________
SBR @ ENJOY (-: [ Microsoft MVP - FrontPage ]
"Warning - Using the F1 Key will not break anything!" (-;
_____________________________________________


| Good day,
|
| I have a problem in one particular sub directory of my site that mean
I have
| replace code within an image tage over around 50 pages (a path error).
I am
| using FP2003.
|
| I want to replace them all at once, but I find that the 'find in
source
| code' check button is greyed out when I select 'replace', even when I
have
| all pages open and the view set to code.
|
| I have also tried selecting the multiple pages on the server without
opening
| them, and still the same problem.
|
| Also, because it is only a portion of the image tag that is wrong, is
it
| possible to replace say:
|
| ../fr/
|
| with:
|
| /fr_2/
|
| does one have to use a wildcard in the search?
|
| Does anyone have a solution to this?
|
| Thanks
| Chris
|
|
|
 
T

Thomas A. Rowe

Then please provide exact examples of what you are attempting to do

--
==============================================
Thomas A. Rowe
Microsoft MVP - FrontPage

http://www.Ecom-Data.com
==============================================


Chris Parry said:
I think you misunderstand me Thomas - using fr/ and fr_2/ was merely an example wildcard.

The problem I have is that the directory were the path needs correcting is the image folder which
contains around 100 images - this is why I need to use a wildcard to change just the path as
opposed to the entire <img> tag (as every tag is for a different image, but same path).

I think this might be my problem!

Chris


Thomas A. Rowe said:
You have to search for each group of pages based on how the link is written, unless you do a
search and replace for fr/ with fr_2/.

FP doesn't support links that start with just a / as the first character. Link must be written
like one of the following:

filename.htm
folder/filename.htm
../filename.htm
../folder/filename.htm


--
==============================================
Thomas A. Rowe
Microsoft MVP - FrontPage

http://www.Ecom-Data.com
==============================================


Chris Parry said:
I have the site open, and I've even tried it live on the remote server too, but still that greyed
out radio button!

At a bit of a loss now to be honest - I hope I don't have to do them all manually :-(

Chris


Make sure you have the site open in FP
- not just the pages

Yes you can replace
/fr/
with
/fr_2/

--

_____________________________________________
SBR @ ENJOY (-: [ Microsoft MVP - FrontPage ]
"Warning - Using the F1 Key will not break anything!" (-;
_____________________________________________


| Good day,
|
| I have a problem in one particular sub directory of my site that mean I have
| replace code within an image tage over around 50 pages (a path error). I am
| using FP2003.
|
| I want to replace them all at once, but I find that the 'find in source
| code' check button is greyed out when I select 'replace', even when I have
| all pages open and the view set to code.
|
| I have also tried selecting the multiple pages on the server without opening
| them, and still the same problem.
|
| Also, because it is only a portion of the image tag that is wrong, is it
| possible to replace say:
|
| ../fr/
|
| with:
|
| /fr_2/
|
| does one have to use a wildcard in the search?
|
| Does anyone have a solution to this?
|
| Thanks
| Chris
|
|
|
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top