Simplenews + Related Content not producing Full Link URLs

axle_foley00 - June 2, 2008 - 19:24
Project:RelatedContent
Version:5.x-1.6
Component:Miscellaneous
Category:feature request
Priority:normal
Assigned:Unassigned
Status:active
Description

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?

#1

pixelpreview - June 24, 2008 - 06:50

I'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 ...

#2

kulvik - July 9, 2008 - 17:39

I 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.

#3

HansBKK - November 14, 2008 - 16:28
Category:support request» feature request

Could 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"

 
 

Drupal is a registered trademark of Dries Buytaert.