Skip to main content

NationBuilder Consultant and Developer

Director of Technology at Grassriots and developer of Tagomations and Deduplicator.



commented on Events API
Just a tip for anyone else who runs into the same issue as me. To update an RSVP you must include the person_id in the body of the PUT request. So if you wanted to update the Guest Count, for example, it would look like this:

“rsvp”: {
“person_id”: 123,
“guests_count”: 2,

If you try to update it without the person_id you’ll get a “record not found” error. This is undocumentated as far as I’ve seen.

posted 2019-04-02 13:29:48 -0700
wants to volunteer
posted 2018-12-10 18:22:53 -0800
commented on Limiting event tickets by membership
Hey Kevin and Kara, all of the code will be included on the event page. You can either add it to the event page template, if you want to use this functionality on every every. Or make a custom page template for specific events and include it there.

To keep your theme code clean, you could put the code into a partial, so it’s easy to include in specific events without having to duplicate a bunch of code every time.

If you’re looking for general help on how to customize templates, I’d start here:

posted 2018-07-31 05:16:19 -0700
published Documentation Error in API Developers Forum
posted 2018-05-10 13:06:06 -0700
commented on Action theme - how to customise text of special pages Excerpt appearing in the homepage
Hi Marco! These values are coded into the theme files, so to customize them you’ll need to create a custom clone of Action.

Here’s NationBuilder’s guide on how to create a custom theme:

Make sure you have Action applied to your site before you begin that process, so you can choose the option to “Clone your current theme (Action)”.

Once you’ve created the custom theme, you can edit the values in the file _homepage_excerpt.html. Each page type is labeled in the file, for example "" is at the top of the code for the Volunteer Signup page homepage widget. You’ll then find the call-to-action text below that, which you can change. Then save and publish the theme, and switch your site over to your new custom version of Action!

I hope that helps,
posted 2018-04-26 08:31:38 -0700
tagged Mohamed Hisham's [API] Relationships between People to People/Organizations are not available with Important
posted 2018-02-05 11:42:51 -0800
published Tags Endpoint Doesn't Accept Forward Slashes in API Developers Forum
posted 2018-01-25 14:04:53 -0800
commented on How do I modify error messages?
This suggestion doesn’t work because the Javascript isn’t bound to any event, so it’s trying to run when the page loads. For it to work you need to bind it to the form submission completing. Check out this example:
posted 2018-01-05 12:04:26 -0800
commented on PUT to people API via PHP
I’m running into this issue with the Ruby gem. Can you post the solution publicly?
posted 2017-12-06 10:38:13 -0800
commented on PUT request
I’ve had the same issue with an AJAX POST request to create a Contact. Luke’s tip worked for me, but his suggestion about a permanent fix is the better solution. Hopefully this can be resolved!
posted 2017-12-05 11:37:15 -0800
commented on Previous ticket orders are showing up when users try to buy tickets to events
Thanks Brian! By using {{site.slug}} instead of manually entering the slug in the url, it should automatically fill itself in so you can add this code to the theme and have it work on multiple sites. This seems to be working for me, but correct me if I’m wrong. Thanks again!
posted 2017-08-30 06:44:42 -0700