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, and the campaign location as the event location.
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.