PC Review
Forums
Newsgroups
Microsoft Word
Microsoft Frontpage
Problem with replacing html in multiple pages
Forums
Newsgroups
Microsoft Word
Microsoft Frontpage
Problem with replacing html in multiple pages
![]() |
Problem with replacing html in multiple pages |
|
|
Thread Tools | Rate Thread |
|
|
#1 |
|
Guest
Posts: n/a
|
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 |
|
|
|
#2 |
|
Guest
Posts: n/a
|
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 | | | |
|
|
|
#3 |
|
Guest
Posts: n/a
|
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 > | > | > | > > |
|
|
|
#4 |
|
Guest
Posts: n/a
|
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 >> | >> | >> | >> >> > > |
|
|
|
#5 |
|
Guest
Posts: n/a
|
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 >>> | >>> | >>> | >>> >>> >> >> > > |
|
|
|
#6 |
|
Guest
Posts: n/a
|
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 >>>> | >>>> | >>>> | >>>> >>>> >>> >>> >> >> > > |
|
![]() |
|
| Thread Tools | |
| Rate This Thread | |
|
|

Main Page 

