Skip to main content

Activity

commented on page.event
Has anyone had luck getting {{ page.event.days_until }} to work? It’s not working for me.
posted 2015-12-21 10:04:42 -0800
tagged Mohamed Hisham's [API] Relationships between People to People/Organizations are not available with Important
posted 2015-08-11 13:52:42 -0700
commented on Displaying list of endorsements which are not featured
Hi Sara, did you figure this out? I’m having the same trouble. I created a separate html file which I’m trying to pull into my homepage. Here’s my code:

{% for endorsement in page.endorsement.featured_endorsements %}

<div class=“endorsement_quote”> {{ endorsement.content }} </div>
<div class=“endorsement_signature”> ~{{ endorsement.signup.published_name }} </div><br>
<div class=“endorsement_link”><a href=“/endorsement”><h5>read more endorsements</h5></a></div>

{% endfor %}
posted 2012-08-27 17:43:35 -0700
commented on signup
I want to flag a mistake here. donations_amount_to_raise_format should actually be: donations_to_raise_amount_format
posted 2014-03-18 21:56:58 -0700
commented on Homepage template
If you know a little liquid I’ve also had success with the following:

{% if page.slug == ‘home’ }
Put your code you want to show up only on the homepage in here
{
endif %}
posted 2012-09-01 19:05:48 -0700
commented on Single feature image.
Hi Kamal – you can do that with the liquid “limit” filter:

{% for feature in page.features limit:1 }
<img src=“%7B%7B%20feature.image_url%20%7D%7D”>
{
endfor %}
posted 2013-12-31 14:02:07 -0800
commented on leaderboard_entry
Hey folks – ignore my last comment! It’s working great. This is a neat little trick to create leaderboards based on tags:

Right underneath the code
{% for entry in leaderboard.entries %}

drop this sucker in:
{% if entry.signup.tags contains “your_tag_here” %}
posted 2013-08-25 22:52:40 -0700
commented on page.donation
You have here donor_goal & percent_of_donor_goal but do you have a variable assigned to the number of donors? I multiplied them together to get a number but the percent of donor goal is rounded so when multiplying back in I get a long string after a decimal point. :(
posted 2013-10-02 12:08:05 -0700
commented on activity
Hi David, you can customize what show up in an activity stream. Just go to https://[YOUR NATION SLUG].nationbuilder.com/admin/activity_types and anything that shows up in the “public” column counts as an activity
posted 2014-12-14 06:21:38 -0800
commented on Capturing Mailing Addresses on a donation page
Where is this note stored in the back end?
posted 2013-02-12 17:57:42 -0800
commented on feature
Hi Patrick – I know but it’s just the assigned name in the array but it’s arbitrary so it’s not necessary to include it in the documentation.
posted 2014-01-21 07:31:53 -0800