Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
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
- Copy the whole "search_replace_blocks_menus" directory to your modules
- Enable the module.
- 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
README.txt
For everyone
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:
Attachment | Size |
---|---|
Search And Replace in Blocks and Menus Readme | 851 bytes |
Project information
- Module categories: Content Editing Experience
- Created by ankitgarg on , updated
- This project is not covered by the security advisory policy.
Use at your own risk! It may have publicly disclosed vulnerabilities.