Created a template that will mail a digest newsletter of recent content to subscribers (using the subscription module).

Not all of my content types have all the same custom fields. Notably, most content has a subhead (called by the template with !cckvalue1_field_sub_headline) but events do not.

When an event posts to the newsletter, instead of skipping the call for the non-existent field or producing a blank line, the template simply echoes back the call for the content (!cckvalue1_field_sub_headline).

Needless to say, this is not what I want to be sending out to people.

Comments

salvis’s picture

Category: bug » support

You need to use conditionals, see the README.txt file in Subscriptions.

kierduros’s picture

Status: Active » Closed (fixed)

Well how about that... a useful ReadMe file!

(Now don't I feel silly for not looking there first...)

Thanks, salvis, you do good work.