Hi,
is it possible to include the full node in a email instead of only sending title and teaser?
I think it could be a starting point to modify the forward.theme but I don't know exactly what to do.
Thanks
vistree
| Comment | File | Size | Author |
|---|---|---|---|
| #7 | forward.zip | 11.25 KB | seanr |
| #4 | forward.zip | 10.42 KB | seanr |
Comments
Comment #1
lammertsm commentedI also want to ask if this is possible
Comment #2
vistree commentedHmm, did you already find a solution?
Need a solution here.
Thank you
vistree
Comment #3
FuXXz commentedMaybe check this module for your full node or teaser view in mail!
http://drupal.org/project/send
but i dont like it ;)
Comment #4
seanrNo need to modify forward.theme (though I believe that would have worked, just replacing $vars['content']->teaser with $vars['content']->body). I've updated the module to add an option to the Forward settings page under Default Values for Email This Page to include the full node body in the email. Please give the attached module a try and let me know if it works for you. If it does, I'll commit it and post a new release today. Just unzip the file directly into the forward directory overwriting the existing files (the zip only includes forward.module and forward.tpl.php).
Comment #5
seanrComment #6
FuXXz commentedHello,
I try also the update and for me, there are some problems!
only after i use the update there is a teaser or a full node include the mail ! so your update works fine! thanks.
But using the .theme template with the update = empty mails!
The last, now in the mail header there are only links to the node path from where i send the mail! the img, the titel, the link I think $site_url and $site_title) = site url /forward/emailref?path=node/xx
I think this isn't wanted, can you fix it please?
In Version 1.2 the img and the Titel = url from the page, without the /forward/emailref?path=node/21 attribut!
thank you
Comment #7
seanrSorry about that, try this one. Be sure to clear the theme registry after uploading the new version.
Comment #8
FuXXz commentedthank you, you are fast :)
but there is still the bug :(
there is still the /forward/emailref?path=node/xx link in the header image and header link!
i try with the 1.2 version and there it is correct :(
Comment #9
FuXXz commentedi deinstall, delete the module, try again and clear the cache! but still same problem!
Comment #10
seanrThat was by design. Previously only the node title and the read more linked to the actual node. I felt like all of the links should point to the node, to prevent a user from ending up at the homepage instead of the intended article and wondering why. It also prevents faulty tracking data in the same instance.
Comment #11
seanrCommitted and released: http://drupal.org/node/461876