Skip to main content

Hiding event date

Can I hide the date on my events? I'm looking to create a database that's searchable by location, and the easiest way that I can think of is to import the information ("event") into NB and hide the date, so only the information I want comes up (in this case, it would only be the title, description, location, contact info, and RSVPs for more information).

Official response from

Yes, you can. To do it automatically on all pages, you will need to edit the theme template for displaying calendars and events.

If you do not already have a custom theme, you will need to create one. You can read more on that here - nationbuilder.com/theme_documentation

The files you would need to change are pages_show_event.html for the event pages and _event.html for the event listing on a calendar page.

On the event page, times are loaded in formats like this:

{{ page.event.local_start_at | event_time }}

On the calendar page, times are loaded in formats like this:

{{ event.event.local_start_at }}

If you edit these files, they will affect all ages on your site, so would cause the times to be lost on all event and calendar pages.

You would need to change how the code is loaded on different pages to have this happen only on one page. For coding changes like this, we recommend you hire a NationBuilder certified Architect.

Share this post

Showing 1 reaction

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