How would I go about adding support for the checkbox in nodes added by the notifications_content module for

[x] Do not send notifications for this update

The code for the formthat appears in a regular node (when editing) is:

    $form['notifications']['#type'] = 'fieldset';
    $form['notifications']['#title'] = t('Notifications');
    $form['notifications']['#collapsible'] = TRUE;  
    $form['notifications']['notifications_content_disable'] = array(
      '#type'          => 'checkbox',
      '#title'         => t('Do not send notifications for this update.'),
      '#default_value' => 0);

What would I have to build into node_import to support adding the above checkbox to the import Step 6 (i.e. I just want to flag no notifications for all imported nodes, I don't need to selectively do it through the input data CSV).

Many thanks.
--glen

Comments

glen201’s picture

Again, I'm looking for some direction here from those in the know.

I want to code support for the notifications_content module so a setting that applies to all nodes appears in Step 6.

Can anyone direct me to a sample portion of this module that I could modify in order to get this support into the import FOR ALL NODES that I import (i.e. not in the CSV)?

Anyone? A maintainer, perhaps? Lurker? Coder? A.k.a Helpful person?

Thank you!
--glen

glen201’s picture

Status: Active » Closed (fixed)

Apparently there are none here.