Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Hi
I am trying to display the Node Reference URL that i have taken in one content type in the Subscription email. But it seems none of the other URL except [node:url] show-up when i hit the Preview Template button. What am I doing wrong. Can anyone help me pls.
Regards
Comments
Comment #1
salvisYou're using the Entity Reference module, right?
Seems we have to create a [subs:entities:?] token similar to the [subs:terms:?] token, so that you can write something like [subs:entities:field_relatednodes:first:url].
Comment #2
kapil.ropalekar CreditAttribution: kapil.ropalekar commentedHi salvis
Thanks for replying back. Yes i am using the References module and i need to pickup a Node Reference URL in the email for Taxonomy subscription. What format do i use to get this URL in the Default subscription email template.
I used something like this [subs:entities:field_pay_by_bite:url] where field_pay_by_bite is the machine name of the node reference.
But it does not reflect any URL in the Preview mode. Can you pls guide me here a bit.
Comment #3
salvisPlease provide a link to the module page.
Comment #4
kapil.ropalekar CreditAttribution: kapil.ropalekar commentedHere is the link to that module.
https://drupal.org/project/references
I am using the Node Reference module from this and have setup this as a CCK field. I need its Node URL in the Subscriptions email.
Comment #5
salvisOk, got it now. This is a request for a new feature.
Comment #6
kapil.ropalekar CreditAttribution: kapil.ropalekar commentedHi salvis
Is this feature request possible with the Subscriptions module. I just want to add the Node reference URL in the Default email template.
Awaiting your reply.
Comment #7
salvisYes, certainly. However, entityreference.module has higher priority.
If someone wants to work on reference.module support, they're certainly welcome and will get my support.