Listed below are additional filters. See more filters here, however please keep in mind that not all Liquid filters work in Rallybound's system.
Filters listed on this page:
Campaign object only. Returns a URL that provides the user with a calendar invite for the campaign that they can import in their calendar client. The filter populates the campaign name as the event title, the campaign date/time as the event date and start time with a default one hour duration, the campaign location as the event location, and the campaign description as the event description.
The filter can populate a URL for Google Calendar or any other calendar (like Apple, Outlook, etc). The desired service should be defined as a filter value, with either 'google' for Google Calendar, or 'ics' for any non-Google calendars, like so:
To modify the duration, add the desired duration in minutes (be sure to separate filter parameters with a comma). In the following example, the event duration will be two hours:
The ics filename defaults to the campaign name, but may also be modified in the filter parameters, by adding a string within quotes after the duration.
Below is a HTML/Liquid block you can use to add visual links to Google, Apple, and other calendar invites on your campaign website or in emails:
Converts a timestamp into another date format.
Sets a default value for any variable with no assigned value. Can be used with strings, arrays, and hashes.
The default value is returned if the variable resolves to
false or an empty string
"". A string containing whitespace characters will not resolve to the default value.
If the donor has no first name, the output will be:
Checks to see if the object or attribute exists. Does not work on all objects. Use this filter in an if tag to add content that should appear if the object or attribute exists:
If the user is on a team, the output will be:
If the user is not on a team, the output will be:
Returns a number in monetary format.
The number of decimal places can be defined by appending a number to the filter. For example:
Returns the user's full name (first and last). If there is no name listed, it will return the company name. Only works for fundraisers, not donor-only or org-level users.
Converts a time as stored in one timezone into the local time of a different timezone. For example, 4:00 PM Pacific converts to 7:00 PM with a "US/Eastern" timezone filter value.
Note that the Neon Fundraiser Admin recognizes times in Pacific time. For things like event date, use this filter if the date in the Admin is entered in US/Pacific time and the output should be in a different timezone (e.g., if the event is at 7:00 pm in New York, enter 4:00 pm in the Admin and on campaign websites and in emails, output the campaign date with a timezone offset). Note that this does not cover all locations on the campaign site and there may be inconsistencies in how the date/time is displayed in some instances.