Blog Banner Image

‘Fieldupdate’ Module launched to Help Update Data in Drupal

blog-21(1).png

We are Drupal mavens who just love to give back to the community we belong to. Kellton Tech has an impeccable record of encouraging its developers to contribute to the Drupal community in order to innovate the powerhouse of Drupal and prolong its sustenance. Developers belonging to Kellton Tech have already added about 35 active modules to the pool with almost half a million downloads and over a million installs – powering numerous websites across the globe. 

Carrying the momentum forward, I have created and contributed a module called ‘Fieldupdate’ to the Drupal community recently. Fieldupdate module is operational with Drupal 7 and can be used to add and modify a wide variety of content fields in the existing data in websites from the backend by simply having an Admin access. This module essentially does the job of updating old or existing node with a default value. This is particularly helpful when we need to add new fields in a type of content and update all existing node with a default value when there are already lots of node in the content type.  

Please note that:

  • Fieldupdate module is not currently compatible with date, image and file type fields.
  • Fieldupdate module enables updating default value for all old or existing fields without updating ‘node publish’ or ‘last change’ dates. 
  • Fieldupdate module can be used only with fields with node. 

Installing Fieldupdate Module in your Drupal 7 website

Configuring Fieldupdate Module in your website powered by Drupal 7 is as easy as installing any other module. The steps for the same are as follows:

  1. Install your module like you install your regular modules for Drupal. You can find more details related to installation at: https://drupal.org/documentation/install/modules-themes/modules-7.
  2. Go to /admin/structure/types/manage/<content-type>/fields. Edit the field that you want to update.
  3. Once you have modified the selected fields in content type, enable the check box under the default value. Save your changes. 

This completes the process of installation of the module. You can either disable it after making the changes or can simply keep it enabled. Enabling or disabling it after making the changes will have no effect on your future data. 

For more information, please visit https://www.drupal.org/project/fieldupdate.