Search And Replace in Blocks and Menus

This project is not covered by Drupal’s security advisory policy.

Search replace blocks menus

This module search & replace any given string in blocks and all custom menu titles. Search and Replace Blocks Menus can do plain text search-and-replace, against the Menu title, Blocks body on all blocks and menus in your system. The module is very handy if you are fixing typos in bulk, changing the URL.

Installation

  1. Copy the whole "search_replace_blocks_menus" directory to your modules
  2. Enable the module.
  3. Fill required fields in form to suit your needs.

Features

  • Can search and replace text in block body and menu title
  • Plain text search and replace
  • Case sensitive search option
  • Plain text search allows 'whole word' matching option. For example,

    searching for "run" with the whole word option selected will filter out

    "running" and "runs", but will match "run!"

Documentation

Goals

  • Can search text in block body and menu title
  • Can replace text in block body and menu title

Limitations

  • Only works with MySQL database. (Postgres patches welcomed!)

Warning

This is a very powerful tool that operates directly on your database tables, and as such is very dangerous. we highly encourage you to backup your database before using it.

Supporting organizations: 

Project information

Releases