I'm trying to send node 'teaser' or custom content from node ( by addind 'print' view_mode for content type) by mail but it will always send 'full page' of node.
It seems that in print_controller() the _print_generate_path() method will always be called (!) and thus the full node view will be rederd in mail body.
As a test i replaced the '_print_generate_path()' method with '_print_generate_node()' method and supplied the nid as param, but in this case the mail was empty.
I just use the Send by mail link button provided by the module (which opens page: /printmail/), fill in the form, and send; other than that only basic configuration (i use the SMTP Authentication Support module )
Thank you.
Comments
Comment #1
jcnventura CreditAttribution: jcnventura commentedYou're absolutely right.. I hadn't noticed this before. I think I introduced this problem 2-4 months ago..
I've committed the fix to git. It should now use the teaser option and the field display settings.
Comment #2
_cam_ CreditAttribution: _cam_ commented**happy face **
This is great! I'll update and use. Thank you