Hello,
I'm using both the Related Content module and Simplenews module together to pull articles from my Drupal site and send out via a E-mail Newsletter. Unfortunately, when the message arrives to the recipient via email the links (ie. Title and Read more) do not contain the domain name, but rather only the absolute path from the Drupal Root folder. (e.g. instead of http://www.example.com/node/123 it gives /node/123).
I did see the following post, http://drupal.org/node/43815 and tried what it said, however it doesn't affect the Related Content nodes being added.
Is there any way to get the nodes to show use the full URL?
Comment | File | Size | Author |
---|---|---|---|
#5 | Screenshot-3.png | 113.1 KB | peter-boeren |
Comments
Comment #1
pixelpreview@gmail.com CreditAttribution: pixelpreview@gmail.com commentedI'm interested by a solution too ... It's a very nice combination (simplenews and related content) but if we can't send absolute urls in the newsletter ... there are no interests ...
Comment #2
kulvik CreditAttribution: kulvik commentedI got this working by simply edition the node.tpl.php for teasers and making sure that the template file output full urls with domain. RelatedContent isn't doing anything about the urls, it's just passing the through as is in the preformatted teaser.
Comment #3
HansBKK CreditAttribution: HansBKK commentedCould you post your code so others don't have to figure it out from scratch?
> RelatedContent isn't doing anything about the url
Changing to a feature request that RC does "do something", perhaps an option in the config screen: "Output full URLs for emailing"
Comment #4
peter panes CreditAttribution: peter panes commentedI'm also having this problem with 6.x-1.0 beta 1.
How do i get node.tpl.php to output full URLs?
Comment #5
peter-boeren CreditAttribution: peter-boeren commentedThis has been fixed in latest version of D6. You can turn absolute links on per content type in the settings of relatedcontent. (screenshot).
Comment #6
peter-boeren CreditAttribution: peter-boeren commentedComment #8
peter panes CreditAttribution: peter panes commentedThis doesn't work for me, I've selected yes under Create absolute links but it doesn't work it still sends the newsletters with relative URLs, any ideas?
Comment #9
peter panes CreditAttribution: peter panes commentedActually it was a problem using content template but i've fixed it now.