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

salvis’s picture

You'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].

kapil.ropalekar’s picture

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

salvis’s picture

Title: Unable to access Node Reference URL in Subscriptions email templates » Add [subs:entities:?] token to support

Yes i am using the References module

Please provide a link to the module page.

kapil.ropalekar’s picture

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

salvis’s picture

Title: Add [subs:entities:?] token to support » Add [subs:nodes:?] token to support the References module's node reference field
Category: bug » feature

Ok, got it now. This is a request for a new feature.

kapil.ropalekar’s picture

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

salvis’s picture

Yes, 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.