Solved

Drupal Mass Change

Posted on 2013-06-12
3
265 Views
Last Modified: 2013-06-13
Is there a way to do a mass change on a Drupal site, like change all "xyz" to "abc"?

Or at least to do it in all blocks?

Thanks
0
Comment
Question by:Richard Korts
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
3 Comments
 
LVL 13

Expert Comment

by:Arrow_1
ID: 39243747
With Drupal and most any other CMS, you'd have to have a script to do a find and replace function in the database to do this. This function is not built in to any CMS that I know of and it also is not built in to mysql. There is a module that seems to give this functionality but I have not used it. I'd recommend making a backup copy of your database before trying it.

https://drupal.org/project/scanner
0
 
LVL 17

Accepted Solution

by:
nanharbison earned 500 total points
ID: 39243977
It depends on what you are trying to change. If it is the text of page titles or other higher level text, you can use the module called string overrides.
Otherwise you might be better off doing the change in the database, if you are database savvy or have access to PHPMyAdmin
0
 
LVL 12

Expert Comment

by:junipllc
ID: 39244731
If you are changing certain fields or items then you can also take a look at Views Bulk Operations. You might need to write a little supporting code but the ability to run bulk operations across everything (or part of everything) is in there.

Without knowing what you're trying to do exactly I wouldn't be able to recommend a particular approach with PHP code, but it's bound to be relatively simple if you're familiar with PHP and (even better) Drupal's underlying systems.

Cheers,

Mike
0

Featured Post

On Demand Webinar: Networking for the Cloud Era

Did you know SD-WANs can improve network connectivity? Check out this webinar to learn how an SD-WAN simplified, one-click tool can help you migrate and manage data in the cloud.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This article is for those that are having major problems with users upload files such as pictures to their profile. The solution is simple and has to do with correcting the directory paths. With some experimenting and testing i got it fixed. Note…
RTL (right to left) web applications aiming for audiences speaking languages like Hebrew or Arabic, are generally more complicated than the same applications aiming for audiences speaking Latin based languages. The main difference lies of course …
In this video, viewers are given an introduction to using the Windows 10 Snipping Tool, how to quickly locate it when it's needed and also how make it always available with a single click of a mouse button, by pinning it to the Desktop Task Bar. Int…
Add bar graphs to Access queries using Unicode block characters. Graphs appear on every record in the color you want. Give life to numbers. Hopes this gives you ideas on visualizing your data in new ways ~ Create a calculated field in a query: …

724 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question