This Help forum is for issues relates to the latest release (1.7.4). For issues related to beta or github version please use their own Help forum.
Before asking for help please read "How to request help" by clicking on that tab above here."
  • Page:
  • 1

TOPIC:

Disable Search & Replace 4 years 11 months ago #1

  • markus
  • markus's Avatar Topic Author
  • Offline
  • Junior Member
  • Junior Member
  • Posts: 119
Is there any way to disable the "Search & Replace" button?

These days I do lot of work on my tree. Unfortunately I replace a family name with nothing because I just pressed "replace" too early.

As there is no UNDO I had to go through the log and change everything back manually... :(

Of course I do daily backups...but I did not want to loose 23h of work.

Thanks, Markus
Best regards /Markus
webtrees 1.7.9 + latest updates + several addons

Please Log in or Create an account to join the conversation.

Disable Search & Replace 4 years 11 months ago #2

  • fisharebest
  • fisharebest's Avatar
  • Offline
  • Administrator
  • Administrator
  • Posts: 14515
1) wait for 1.7.5

2) create a custom theme (copy the template themes/_custom),

3) add this function:
	protected function menuSearchAndReplace() {
		return null;
	}
Greg Roach - This email address is being protected from spambots. You need JavaScript enabled to view it. - fisharebest.webtrees.net

Please Log in or Create an account to join the conversation.

Disable Search & Replace 4 years 11 months ago #3

  • markus
  • markus's Avatar Topic Author
  • Offline
  • Junior Member
  • Junior Member
  • Posts: 119
OK thanks..will wait for the next release.
Best regards /Markus
webtrees 1.7.9 + latest updates + several addons

Please Log in or Create an account to join the conversation.

Disable Search & Replace 4 years 11 months ago #4

  • bertkoor
  • bertkoor's Avatar
  • Offline
  • Platinum Member
  • Platinum Member
  • Greetings from Utrecht, Holland
  • Posts: 2275
Question: why use search & Replace if you only want to search and not replace?
Alternatives:
* Advanced Search (available in the menu for all visitors)
* Export to gedcom text file format and use a powerful text editor
stamboom.BertKoor.nl runs on webtrees v1.7.13

Please Log in or Create an account to join the conversation.

Disable Search & Replace 4 years 11 months ago #5

  • markus
  • markus's Avatar Topic Author
  • Offline
  • Junior Member
  • Junior Member
  • Posts: 119
Hi Bert,

I wanted to replace some text but unintentionally hit the return-button. My fault!
Usually I (as admin) work on the exported gedcom-file.

The Search&Replace function is available for members as well. So anybody could replace anything by any other text. This will be quite some work for the moderator...therefore I would like to disable this feature.
Question solved as Greg has shown some options.

Regards, Markus
Best regards /Markus
webtrees 1.7.9 + latest updates + several addons

Please Log in or Create an account to join the conversation.

  • Page:
  • 1
Powered by Kunena Forum