Is it possible to forward the entire content, not teaser only? Maybe an option to let users to choose is better.

CommentFileSizeAuthor
#1 forward_full_text.diff796 bytesdennys

Comments

dennys’s picture

Version: 5.x-1.4 » 5.x-1.5
Status: Active » Needs review
StatusFileSize
new796 bytes

Please try this patch (for 1.5). I add a new option "Forward Full Text", if it's enabled then forward module will send entire content.

But maybe my code is not a good design because I put the entire content in $content->teaser field. Is there any suggestion ?

    if (true == variable_get('forward_full_text', false)) {
      $content->teaser = check_markup($content->body, $content->format, false);
    } else {
      $content->teaser = check_markup($content->teaser, $content->format, false);
    }
seanr’s picture

Category: feature » support
Status: Needs review » Closed (fixed)

is is already doable at the theme level: if you want to use the full length node, change $vars['content']->teaser to $vars['content']->body on line 53 of forward.theme.

Could make this a configurable option at some later date, but I think it's sufficient as is for the time being (at least until D6 comes out).