Solved

Drupal Mass Change

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

Live: Real-Time Solutions, Start Here

Receive instant 1:1 support from technology experts, using our real-time conversation and whiteboard interface. Your first 5 minutes are always free.

Question has a verified solution.

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

Suggested Solutions

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 …
Microsoft Active Directory, the widely used IT infrastructure, is known for its high risk of credential theft. The best way to test your Active Directory’s vulnerabilities to pass-the-ticket, pass-the-hash, privilege escalation, and malware attacks …
Although Jacob Bernoulli (1654-1705) has been credited as the creator of "Binomial Distribution Table", Gottfried Leibniz (1646-1716) did his dissertation on the subject in 1666; Leibniz you may recall is the co-inventor of "Calculus" and beat Isaac…

815 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

12 Experts available now in Live!

Get 1:1 Help Now