Closed (fixed)
Project:
Node import
Version:
6.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
20 Dec 2009 at 06:15 UTC
Updated:
24 Dec 2009 at 00:46 UTC
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
Comment #1
glen201 commentedAgain, 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
Comment #2
glen201 commentedApparently there are none here.