CMS Development

simonp
Member

Possible to create a subscription email using two different blogs

Hello 

 Our website has two blogs called Articles and Company News. I am currently trying to see if i can create monthly blog subscriber email but instead of pulling just the blog entries eg Articles  I am looking at obtaining the entries from the other blog eg Company News. Is that possible - I am aware that email subscription are assigned at the settings level per blog

0 Upvotes
2 Replies 2
stefen
Key Advisor | Partner
Key Advisor | Partner

Possible to create a subscription email using two different blogs

@simonp yeah, definitely. Instead of using the default subscription emails, you could create a new email with both blogs RSS feeds and then create a custom workflow to send that to the subscriber list whenever so many new blogs get published or  on whatever timely basis you prefer. 

Stefen Phelps, Community Champion, Kelp Web Developer
simonp
Member

Possible to create a subscription email using two different blogs

Thanks Steffen I take a look at this method: - 

 

I am currently going down the route of creating a module based using on following code

 

{% set blog_one_posts = blog_recent_posts('blogid', limit=3) %}

 

{% set all_posts = (blog_one_posts + blog_two_posts) | sort(true, false, 'publish_date') %}

 

then using a for loop. 

 

This inserted into email template.

 

 

This seems to work, but I definately look into your method.

 

 

0 Upvotes