Closed (fixed)
Project:
Simplenews Scheduler
Version:
6.x-2.x-dev
Component:
Documentation
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Reporter:
Created:
27 Mar 2012 at 15:01 UTC
Updated:
22 May 2012 at 14:30 UTC
On D6 this is something like:
// Set some content into the node body.
$node->body = 'content';
+ // Clear the teaser.
+ $node->teaser = '';
Comments
Comment #1
berdirWe have that?
Comment #2
joachim commentedThe example of how to set body text is useful in addition, at least on D6, as I found that if you don't clear the teaser you get things in twice.
Comment #3
berdir$node->teaser does not exist in Drupal 7 :)
Comment #4
joachim commentedD6 then :)
Comment #5
joachim commented- #1504548 by joachim: Added example of setting the node body to documentation for hook_simplenews_scheduler_cloned_node_alter().