Ok, I'm totally lost. I'm trying to make a newsletter for a quite long time and so far, none of the modules I tried was good enough - one would think this should be simple, but it's not.

Newsletter module - so far, the closer one to meet my needs. But:
- how can I select type of content I want to include in newsletter? Taxonomy doesn't even feel like the right way to do anything in my case.
- there isn't any place I can determine how often and at what hour I want the newsletter to be send

I had other issues, like no special characters, but the dev version from 30 june fixed that. Still, sometimes when I'm making a new template, it doesn't work at all - I receive blank mail or the [repeat][/repeat] thingie, which didn't "parsed" or whatever.

Comments

felixSchl’s picture

Same here. What nodes get included and which not is a mystery to me. I scanned the code briefly, and I found that the automated newsletter makes a call to newsletter_get_template_terms(). In that function some funky naming expectations are happening:

[...]
foreach ($vocabularies as $vocabulary) {
    if ($vocabulary->machine_name == 'newsletter_categories') {
      continue;
    }
    $vocabulary_field = field_get_items('newsletter_template', $template, 'field_' . $vocabulary->machine_name);
[...]

Does this mean that the template must have a field named "field_myVocabulary" which corresponds to an existing vocabulary called "myVocabulary" in order to fetch any nodes? And does it mean that all nodes must be related to this vocabulary by referencing any term in it?

This is really frustrating trying to figure this out.

ParisLiakos’s picture

Category: task » support
Status: Active » Fixed

Does this mean that the template must have a field named "field_myVocabulary" which corresponds to an existing vocabulary called "myVocabulary" in order to fetch any nodes? And does it mean that all nodes must be related to this vocabulary by referencing any term in it?

exactly

And if you want a specific content-type to be included just add the term-reference field of this vocabulary only to this content type

felixSchl’s picture

Thank you for coming back to me on this. Good to have confirmation that this was the intended way it should work.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.

marcmueller’s picture

Is this information still valid?
Can someone explain how exactly this would work?

If I understood correctly then:

a) I'll add a taxonomy term (eg. "newsletter-issue") to the "newsletter-category"-Vocabulary
b) Add one taxonomy-term field (for the specific vocabulary) to my content types
c) ..what next?

Is is true that only nodes are being sent that have a "newsletter-issue" term selected? And where do I select how much nodes are beeing sent, I see no option for that?

Best regards, Marc