PC Review Forums Newsgroups Microsoft Word Microsoft Frontpage Problem with replacing html in multiple pages

Reply

Problem with replacing html in multiple pages

 
Thread Tools Rate Thread
Old 07-07-2007, 11:42 PM   #1
Chris Parry
Guest
 
Posts: n/a
Default Problem with replacing html in multiple pages


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



  Reply With Quote
Old 08-07-2007, 08:17 AM   #2
Stefan B Rusynko
Guest
 
Posts: n/a
Default Re: Problem with replacing html in multiple pages

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!" (-;
_____________________________________________


"Chris Parry" <chris@arsenal-world.net> wrote in message news:VxVji.6986$fi4.2147@newsfe7-win.ntli.net...
| 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
|
|
|


  Reply With Quote
Old 08-07-2007, 09:19 PM   #3
Chris Parry
Guest
 
Posts: n/a
Default Re: Problem with replacing html in multiple pages

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" <sbr_enjoy@hotmail.com> wrote in message
news:uWuKCiTwHHA.4132@TK2MSFTNGP02.phx.gbl...
> 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!" (-;
> _____________________________________________
>
>
> "Chris Parry" <chris@arsenal-world.net> wrote in message
> news:VxVji.6986$fi4.2147@newsfe7-win.ntli.net...
> | 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
> |
> |
> |
>
>



  Reply With Quote
Old 08-07-2007, 09:28 PM   #4
Thomas A. Rowe
Guest
 
Posts: n/a
Default Re: Problem with replacing html in multiple pages

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" <chris@arsenal-world.net> wrote in message
news:Cxcki.7331$fi4.3864@newsfe7-win.ntli.net...
>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" <sbr_enjoy@hotmail.com> wrote in message
> news:uWuKCiTwHHA.4132@TK2MSFTNGP02.phx.gbl...
>> 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!" (-;
>> _____________________________________________
>>
>>
>> "Chris Parry" <chris@arsenal-world.net> wrote in message
>> news:VxVji.6986$fi4.2147@newsfe7-win.ntli.net...
>> | 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
>> |
>> |
>> |
>>
>>

>
>



  Reply With Quote
Old 08-07-2007, 10:19 PM   #5
Chris Parry
Guest
 
Posts: n/a
Default Re: Problem with replacing html in multiple pages

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" <tarowe@mvps.org> wrote in message
news:eASjjbawHHA.2004@TK2MSFTNGP06.phx.gbl...
> 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" <chris@arsenal-world.net> wrote in message
> news:Cxcki.7331$fi4.3864@newsfe7-win.ntli.net...
>>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" <sbr_enjoy@hotmail.com> wrote in message
>> news:uWuKCiTwHHA.4132@TK2MSFTNGP02.phx.gbl...
>>> 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!" (-;
>>> _____________________________________________
>>>
>>>
>>> "Chris Parry" <chris@arsenal-world.net> wrote in message
>>> news:VxVji.6986$fi4.2147@newsfe7-win.ntli.net...
>>> | 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
>>> |
>>> |
>>> |
>>>
>>>

>>
>>

>
>



  Reply With Quote
Old 09-07-2007, 12:22 PM   #6
Thomas A. Rowe
Guest
 
Posts: n/a
Default Re: Problem with replacing html in multiple pages

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" <chris@arsenal-world.net> wrote in message
news:rpdki.6572$oa7.5982@newsfe1-gui.ntli.net...
>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" <tarowe@mvps.org> wrote in message news:eASjjbawHHA.2004@TK2MSFTNGP06.phx.gbl...
>> 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" <chris@arsenal-world.net> wrote in message
>> news:Cxcki.7331$fi4.3864@newsfe7-win.ntli.net...
>>>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" <sbr_enjoy@hotmail.com> wrote in message
>>> news:uWuKCiTwHHA.4132@TK2MSFTNGP02.phx.gbl...
>>>> 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!" (-;
>>>> _____________________________________________
>>>>
>>>>
>>>> "Chris Parry" <chris@arsenal-world.net> wrote in message
>>>> news:VxVji.6986$fi4.2147@newsfe7-win.ntli.net...
>>>> | 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
>>>> |
>>>> |
>>>> |
>>>>
>>>>
>>>
>>>

>>
>>

>
>



  Reply With Quote
Reply



Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off