Hi there!
I asked this question about showing activity streams of all pages in a box on one page. I was given an answer that worked perfectly.
I am worried about something, though. There is some activity that should not be shared in an Activity Stream, such as any activity in which the "Do not publish on website" checkbox for that activity has been checked.
Would this bit of liquid make sure that private activity is not published in the "master" Activity Stream?
{% for activity in site.activities limit:10 %}
{% unless activity.is_private? %}
{{ activity.show }}
{% endunless %}
{% endfor %}
Thank you!
Official response from NationBuilder Support
Tim, the best way to find out is to test it in your sandbox.
You can try that or { % if activity.is_private? == false % } inside the forloop to limit what is displayed.
You can see more about how forloops work here.
Thanks.
Share this post
Showing 2 reactions
Sign in with
Tim Wayne
Certified Architect
Certified Expert