Skip to main content

Drafted events are displayed

Hello!

I want to list all my past and upcoming events, for this I use this:

for event in page.calendar.events

but that snipet displays drafted events too.

Is there a way to not display these drafted events?

Official response from

I would set the events to be viewed by 'admin only' that way you will see them if you're logged in as an admin -- but you can check in an incognito window to see what the page looks like for someone not logged in. 

Share this post

Showing 1 reaction

How would you tag this suggestion?
Please check your e-mail for a link to activate your account.