I notice that when I test the e-mail feature, I am sent a page (or teaser) that includes breadcrumbs and taxonomy links. The base URL is not part of these links; they are relative. So when I try to click on one of these links in the e-mail, the links try to open on my hard drive (i.e., they are broken).
Also, there doesn't seem to be a good way to include the source URL high up in the e-mail, so it's very easy for the recipient not to see the link to click to read the full piece. I am trying to encourage clicks into the site, so even when it is the full page being e-mailed and not a teaser, I would like the URL of the exact page to be linked very prominently in the message, first thing (without an option for the sender to override this).
In fact, I'd like to see the URL of the page being mailed be the ONLY link in the e-mail - no breadcrumbs, etc. to distract.
Comments
Comment #1
jcnventuraTry the forward module if all you want is to send only the URL
What mail reader are you using? It should have respected the "base href" information in the e-mail to correct the relative URLs.
Comment #2
m.e. commentedThe links problem is happening in Eudora.
I don't want to send only the URL ... I want to send the page or teaser, but with the URL displayed at the top of the message rather than way down at the bottom.
Comment #3
m.e. commentedInteresting detail on the Eudora problem: The links are broken when I email a node to myself, but they work fine when I email the front page. Maybe that will shed some light?
Comment #4
jcnventuraEudora.. That's been unsupported for so long. :)
The 'thing' with the front page is probably because Eudora does care about the base href, but only for the root of the path (the server), and it doesn't care about the path inside the server. I'd advise a move to Thunderbird, but if someone chose to stick with Eudora for all these years, they'll probably prefer to stay on despite this.
To move the Source URL line to the top of the message, copy the print.tpl.php file to print_mail.tpl.php and in the new file, move the 'print-source_url' line to the appropriate place.
Comment #5
jcnventuraComment #6
m.e. commentedThanks -- I'll definitely try that change. Should I put print_mail.tpl.php in the print_mail directory?
(Eudora -- yes, unsupported, but hard to give up having years of email archives right at my fingertips. I couldn't do business without them!)
Comment #7
jcnventuraSorry, I didn't see the question before.. You can put the print_mail.tpl.php in the main directory of the print module or in your theme directory.
João
Comment #8
jcnventuraNo further comments in two weeks. Closing the issue.