Solved

Drupal Mass Change

Posted on 2013-06-12
3
259 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
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

How to improve team productivity

Quip adds documents, spreadsheets, and tasklists to your Slack experience
- Elevate ideas to Quip docs
- Share Quip docs in Slack
- Get notified of changes to your docs
- Available on iOS/Android/Desktop/Web
- Online/Offline

Join & Write a Comment

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 …
Excel styles will make formatting consistent and let you apply and change formatting faster. In this tutorial, you'll learn how to use Excel's built-in styles, how to modify styles, and how to create your own. You'll also learn how to use your custo…
Polish reports in Access so they look terrific. Take yourself to another level. Equations, Back Color, Alternate Back Color. Write easy VBA Code. Tighten space to use less pages. Launch report from a menu, considering criteria only when it is filled…

707 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

Need Help in Real-Time?

Connect with top rated Experts

17 Experts available now in Live!

Get 1:1 Help Now