Solved

Drupal Mass Change

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

Enroll in May's Course of the Month

May’s Course of the Month is now available! Experts Exchange’s Premium Members and Team Accounts have access to a complimentary course each month as part of their membership—an extra way to increase training and boost professional development.

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 …
Nobody understands Phishing better than an anti-spam company. That’s why we are providing Phishing Awareness Training to our customers. According to a report by Verizon, only 3% of targeted users report malicious emails to management. With compan…
A short tutorial showing how to set up an email signature in Outlook on the Web (previously known as OWA). For free email signatures designs, visit https://www.mail-signatures.com/articles/signature-templates/?sts=6651 If you want to manage em…

737 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