Active
Project:
Basic E-news
Version:
6.x-1.x-dev
Component:
Miscellaneous
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
7 Apr 2010 at 14:22 UTC
Updated:
7 Apr 2010 at 20:22 UTC
Is there any way to use field tokens from the node so that users' form field input can flow within a set chunk of HTML code?
For instance, if "Greeting" was a field used on the node creation form, and "Body" was where the email HTML structure was:
| Email Header |
| Dear Customer, [field_greeting_value] |
| Fixed body copy |
What would be the best way for that to display correctly when users hit the "Preview Newsletter" link in the "Newsletter" tab? Would it be better to use the tpl.php file (which I am not familiar with doing)?
Thanks.
Comments
Comment #1
jbomb commentedHello amaisano:
Basic e-news does not support tokens at this time. One can accomplish the task that you described using the tpl.php file. The entire rendered node object is passed to enews.tpl.php as "$content", so you might have some luck using the contemplate module.