As per title , I have custom content type which only uses cck field and the body text area is disabled from the content type submission form.
Th received emails don't include any of the cck field.
I have the send full node checked in the forward module settings and also tried to modify the theme file , but none helped with this issue.

Please if possible advise.

CommentFileSizeAuthor
#2 forward.module.650724.patch647 bytesobsidiandesign

Comments

strestus’s picture

just realized the all forwarded views also send empty emails with just the title and link to the view.

obsidiandesign’s picture

StatusFileSize
new647 bytes

The issue is that if the content to be forwarded is not a node, $content->teaser is empty. Since the forward.theme file relies on $content->teaser for populating the email, any view or other content will always be forwarded just as a title & link. I've attached a patch that provides a solution for me; it may not be the best or only way to handle things.

Bryan O'Shea
Obsidian Design

obsidiandesign’s picture

Status: Active » Needs work

Ok, one issue I've noticed already - when forwarding a view as a user with permissions to edit/clone the view, the links to visit the edit/clone pages are visible at the top of the email. Not sure how to make those go away.

seanr’s picture

That may not even be fixable in Drupal 6. Getting content for pages that are not nodes leads to all kinds of problems including potential security issues.

john.oltman’s picture

Status: Needs work » Closed (works as designed)

The Drupal 7 version of Forward includes a custom view mode that solves this problem. Closing this issue.