Snippets

Table of Contents


Overview

Snippets are used to pull profile information from a Member currently logged in or associated with a particular account and display it on a page or in an email. They are most commonly used to personalize the Member experience on web pages and emails.

Please Note: The New Clubessential Email Editor is available as of 9/16/19. Please refer to Clubessential Email Editor for a detailed User Guide.

Required Permissions

  • Admin

  • Editor


Site Info Snippets

These snippets can be used to pull site information. These are generally used in the site and email footers

Snippet Name

Snippet

Description

Site Name

##SITENAME##

Outputs the site name

Site URL

##SITEPATH##

Outputs the URL for the site

Date Snippets

Snippet Name

Snippet

Description

Current Date in format "Weekday, Month Day, Year"

##SHOWDATE##

Shows current date using specified format. Updates dynamically with the date

Current Date in format "Month/Day/Year"

##SHOWSDATE1##

Shows current date using specified format. Updates dynamically with the date

Current Date in format "Month Day"

##SHOWSDATE2##

Shows current date using specified format. Updates dynamically with the date

Current Date in format "Month Day, Year"

##SHOWSDATE3##

Shows current date using specified format. Updates dynamically with the date

Current Month

##CURRENTMONTH##

Shows the current month. Updates dynamically when the month changes

Previous Month

##PREVIOUSMONTH##

Shows the previous month. Updates dynamically when the month changes

Next Month

##NEXTMONTH##

Shows the next month. Updates dynamically when the month changes

Current Month with Year

##CURRENTMONTHWYEAR##

Shows current month and year. Updates dynamically when the month changes

Previous Month with Year

##PREVIOUSMONTHWYEAR##

Shows previous month and year. Updates dynamically when the month changes

Next Month with Year

##NEXTMONTHWYEAR##

Shows next month and year. Updates dynamically when the month changes

Last Day of Current Month

##CURRENTMONTHLASTDAY##

Shows last day of current month. Updates dynamically when the month changes

Last Day of Previous Month

##PREVIOUSMONTHLASTDAY##

Shows last day of previous month. Updates dynamically when the month changes

Last Day of Next Month

##CURRENTMONTHLASTDAY##

Shows last day of next month. Updates dynamically when the month changes

Current Year

##CURRENTYEAR##

Shows the current year. Updates dynamically when the month changes. Useful for putting the year into copyright notices so that they don't have to be manually updated every year

Previous Month's Year

##PREVIOUSMONTHSYEAR##

Shows year of previous monty. Update dynamically when the month changes

Next Month's Year

##NEXTMONTHSYEAR##

Shows year of next month. Updates dynamically when month changes

Time Snippets

Snippet Name

Snippet

Description

Current Time in format "H:MM AM/PM"

##SHOWTIME##

Shows current time in the specified format

Current Time in 24 hour format "HH:MM"

##SHOWMILTIME##

Shows current time in the specified format

Current Hour in 12 hour format "HH"

##CURR12HOUR##

Shows current hour only. Will return value from 1-12

Current Hour in 24 hour format "HH" 

##CUR24HOUR##

Shows current hour only. Will return value from 0-23

Current Minute "MM"

##CURRMIN##

Shows current minute. Will return value from 0-59

Current AM/PM

##CURRAMPM##

Shows AM/PM

 

Please Note: Many of the snippet names below will change depending on Club specific setup and preferences.

Member Info Snippets

Snippet Name

Snippet

Description

Member Number

##MEMNUM##

Shows user member number

Member Number (Relationship)

##MEMNUMREL##

Shows user member number with relationship code

Last Digit of Member Number

##MEMNUM1DIGIT##

Shows last digit of user member number

Last 2 Digits of Member Number

##MEMNUM2DIGIT##

Shows last 2 digits user of member number

Last 3 Digits of Member Number

##MEMNUM3DIGIT##

Shows last 3 digits user of member number from

Last 4 Digits of Member Number

##MEMNUM4DIGIT##

Shows last 4 digits user of member number

Last 5 Digits of Member Number

##MEMNUM15DIGIT##

Shows last 5 digits user of member number

Relationship Code

##RELCODEONLY##

Shows user relationship code

Relationship w/ Label

##RELATIONSHIP##

Shows user relationship label

Account Type

##ACCTTYPE##

Shows user account type

Membership Level

##MSHIPLEVEL##

Shows user membership level

Membership Start

##MEMSHIPSTART##



Membership End

##MEMSHIPEND##



Display Name

##DISPLAYNAME##



Prefix

##PREFIX##



First name

##FNAME##



First Initial

##FINITIAL##

Shows first character of clt_fname

Middle Name

##MNAME##



Middle Initial

##MINITIAL##

Shows first character of clt_mname

Last Name

##LNAME##



Last Initial

##LINITIAL##

Shows first character of clt_lname

Suffix

##SUFFIX##



Email Address 1

##EMAIL1##



Email Address 1 as Link

##EMAIL1LINK##

Shows clt_email; formats as hyperlink

Email Address 2

##EMAIL2##



Email Address 2 as Link

##EMAIL2LINK##

Shows clt_email2; formats as hyperlink

Username

##UNAME##

Shows user's username

Password

##PWORD##

Shows shows user password

Gender

##GENDER##



Birthday (M/D/YYYY)

##BIRTHDAY##

Shows clt_birthday in specified format

Birthday (Month Day, Year)

##BIRTHDAY2##

Shows clt_birthday in specified format

Birthday w/o Year (M/D)

##BIRTHDAY3##

Shows clt_birthday in specified format

Birthday w/o Year (Month Day)

##BIRTHDAY4##

Shows clt_birthday in specified format

Address Snippets

Snippet Name

Snippet

  1. Company / Title

##ADDR_addTitle1_ADDR##

  1. Street 1

##ADDR_addStreet1_ADDR##

  1. Street 2

##ADDR_addStreet2_ADDR##

  1. City

##ADDR_addCity1_ADDR##

  1. State

##ADDR_addState1_ADDR##

  1. Zip

##ADDR_addZip1_ADDR##

  1. Country

##ADDR_addCountry1_ADDR##

  1. Phone 1

##ADDR_addPhone1_ADDR##

  1. Phone 2

##ADDR_addPhone1a_ADDR##

  1. Phone 3

##ADDR_addPhone1b_ADDR##

  1. Address Start Date

##ADDR_addStart1_ADDR##

  1. Address End Date

##ADDR_addEnd1_ADDR##

  1. Additional Field 1

##ADDR_addInfo1_ADDR##

  1. Additional Field 2

##ADDR_addInfo1a_ADDR##

Current Month Statements Snippets

Snippet Name

Snippet

Description

Sub Account

##STMTCURR_sub_account_STMTCURR##



Statement Date

##STMTCURR_Statement_Date_STMTCURR##

Shows the date on the most recent statement

Minimum Cycle

##STMTCURR_Minimum_Cycle_STMTCURR##

Shows the end date of the current minimum cycle

Minimum Unspent

##STMTCURR_Minimum_Unspent_STMTCURR##

Shows the amount left to spend for the current minimum cycle

Minimum Spent

##STMTCURR_Minimum_Spent_STMTCURR##

Shows the amount spent for the current minimum cycle

Minimum Total

##STMTCURR_Minimum_Total_STMTCURR##

Shows the total minimum for the current minimum cycle

Minimum 2 Cycle

##STMTCURR_Minimum2_Cycle_STMTCURR##

Shows the end date of the 2nd minimum cycle

Minimum 2 Unspent

##STMTCURR_Minimum2_Unspent_STMTCURR##

Shows the amount left to spend for the 2nd minimum cycle

Minimum 2 Spent

##STMTCURR_Minimum2_Spent_STMTCURR##

Shows the amount spent for the 2nd minimum cycle

Minimum 2 Total

##STMTCURR_Minimum_Total_STMTCURR##

Shows the total minimum for the 2nd minimum cycle

Creditbook Date

##STMTCURR_CreditBookDate_STMTCURR##

Shows the date for the creditbook

Creditbook Balance

##STMTCURR_CreditBookBalance_Total_STMTCURR##

Shows the balance on the user's creditbook

Balance Forward

##STMTCURR_Balance_Forward_STMTCURR##

Shows the user's balance forward for the most recent statement

Total Due

##STMTCURR_Total_Due_STMTCURR##

Show the user's total amount due for the current statement

Current

##STMTCURR_Aged0_STMTCURR##

Shows the user's current total

Aged 30 Days

##STMTCURR_Aged1_STMTCURR##

Shows the user's 30 day total

Age 60 Days

##STMTCURR_Aged2_STMTCURR##

Shows the user's 60 day total

Aged 90 Days

##STMTCURR_Aged3_STMTCURR##

Shows the user's 90 day total

Aged over 90 Days

##STMTCURR_Aged4_STMTCURR##

Shows the user's 90+ day total

Last Updated

##STMTCURR_Last_Updated_STMTCURR##

Shows the date the statement was last updated


Best Practices

FAQs