Skip to main content

Activity

commented on Is it possible to get a list of upcoming events?
@deandraper You may have solved this already… Just had it explained to me. You need to use {% for event in tag.most_recent_published_pages } instead of { for event in tag.calendar.events_upcoming %} because tag does not have the page variable “events_upcoming.”
posted 2015-10-05 14:48:21 -0700
commented on Display a list of events with a particular tag
Have had a reply from Nationbuilder and the problem was that I had assumed that the page variable would have to be event related… here’s the solution:

The reason it is not working is because tag does not have the page variable “events_upcoming.” See all tag page variables here:
http://nationbuilder.com/page_tag_variables

The first example, for calendar pages, does work because “events_upcoming” is a calendar page variable:
http://nationbuilder.com/calendar_page_variables

We recommend for the {% for event in tag.events_upcoming } you actually use: { for event in tag.most_recent_published_pages %}

This works :)
posted 2015-10-05 14:41:00 -0700
commented on Display events from a calendar with a certain tag on another page
Have had a reply from Nationbuilder and the problem was that I had assumed that the page variable would have to be event related… here’s the solution:

The reason it is not working is because tag does not have the page variable “events_upcoming.” See all tag page variables here:
http://nationbuilder.com/page_tag_variables

The first example, for calendar pages, does work because “events_upcoming” is a calendar page variable:
http://nationbuilder.com/calendar_page_variables

We recommend for the {% for event in tag.events_upcoming } you actually use: { for event in tag.most_recent_published_pages %}

This works :)
posted 2015-10-05 14:42:05 -0700