Page 1 of 1

Universal sitewide URL find and replace

Posted: Wed May 22, 2019 6:04 pm
by pacstar
Is there a way to do a sitewide "find and replace" for a link to a URL?

For example I want to change " https://www.page.com/subpage1.htm to https://www.page.com/main/subpage1.htm " across the entire site?

Or, at least is there a way to find a link and where it is used across the site?

Thanks

Re: Universal sitewide URL find and replace

Posted: Wed May 22, 2019 7:58 pm
by Pablo
Did you try 'Global Replace' in the tools menu?

Re: Universal sitewide URL find and replace

Posted: Wed May 22, 2019 9:02 pm
by pacstar
Pablo wrote: Wed May 22, 2019 7:58 pm Did you try 'Global Replace' in the tools menu?
Ah, yes. That seemed to work, I just forgot to select URL from the drop down menu.

But it doesn't let me type in the existing URL I want to change, I have to select from a drop down list. I see that it's gonna be an issue if the URL is too long to see in the drop down window. ????

Re: Universal sitewide URL find and replace

Posted: Thu May 23, 2019 6:09 am
by Pablo
Global Replace should list all the URLs in your project so there is no need to type it manually.

Re: Universal sitewide URL find and replace

Posted: Thu May 23, 2019 10:05 pm
by pacstar
Pablo wrote: Thu May 23, 2019 6:09 am Global Replace should list all the URLs in your project so there is no need to type it manually.
Pablo,
Yeah, I figured that out. I just mentioned that if its a long URL, it gets cut off in the drop down window so you cannot read what the URL is to be able to select it. Can a long URL in the drop down be set to appear on mouse over???

Other than that, it worked perfectly.

Re: Universal sitewide URL find and replace

Posted: Fri May 24, 2019 6:15 am
by Pablo
The drop down list is a standard Window component, unfortunately it cannot display long items.

Re: Universal sitewide URL find and replace

Posted: Fri May 24, 2019 7:36 am
by BaconFries
Pablo, now I am not the same level of programming as yourself, I do understand Pascal and VB though. Could it be possible to use/add the likes of a tooltip to each item in a combobox?, so that on hover it will show a abbreviated/short description of the item. As mentioned I am not on the same level as you just running a idea pass you.

Re: Universal sitewide URL find and replace

Posted: Fri May 24, 2019 7:49 am
by WWBman
Have you tried first maximising the initial Global Replace window?

Re: Universal sitewide URL find and replace

Posted: Fri May 24, 2019 9:13 am
by Pablo
Could it be possible to use/add the likes of a tooltip to each item in a combobox?
Unfortunately this functionality is not available in C++

But WWBman suggestion may be helpful. You can resize the window so the dropdown list will be wider.

Re: Universal sitewide URL find and replace

Posted: Fri May 24, 2019 9:57 am
by BaconFries
Thanks Pablo for your reply. I did read that on a search after posting, WWBman suggestion should work.

Re: Universal sitewide URL find and replace

Posted: Fri May 24, 2019 6:49 pm
by pacstar
Pablo wrote: Fri May 24, 2019 9:13 am
Could it be possible to use/add the likes of a tooltip to each item in a combobox?
Unfortunately this functionality is not available in C++

But WWBman suggestion may be helpful. You can resize the window so the dropdown list will be wider.
Pablo,

Is there a way to add the ability to just copy and paste or type in the URL into the form without the dropdown force?

Re: Universal sitewide URL find and replace

Posted: Fri May 24, 2019 8:15 pm
by Pablo
I'm sorry that is not possible.