When the "title + teaser" option for email is selected it would be helpful if there is a "Read more" link. Otherwise the recipient may think that is all there is.
Thanks.
| Comment | File | Size | Author |
|---|---|---|---|
| #1 | 866416-notify_email_readmore_link.patch | 1.3 KB | izmeez |
Comments
Comment #1
izmeez commentedAttached is a patch to add a read more link in notification email with title+teasers setting and a second link at the end of the body with title+body settings in case anyone is interested.
Comment #2
izmeez commentedThe patch in #1 is not really an answer but a work around so I have changed the status of this issue to "needs work".
I have been looking at trying to use the Drupal link api,
$node_body .= '[ '. l(t('Read more'), 'node/'. $node->nid, array('absolute' => TRUE, 'html' => TRUE)) ." ]\n\n";But this is placing the following in the email
<a href="http://example.com/path-to-node">Read more</a>rather than "Read more" as a link.
I have searched all over and tried a variety of things but nothing seems to be working.
Comment #3
izmeez commented+bump, wondering if anyone has ideas on a better way to do this? Thanks.
Comment #4
gisleIn the Drupal 7 version, this feature request is implemented by adding the following text to the mail when the mail only contains teasers.
This is not going to be backported to the Drupal 6 version.
If you want this feature, upgrade to the Drupal 7 version.