FacebooktwitterYouTube

Knowledgebase & Documentation

Our documentation is the best way to get immediate answers and guidance. We also provide numerous references for the more advanced features and functionality such as the CMS and the API.

Globally Available Tags

The following tags are available for use anywhere in the CMS. This list is about 95% complete.

current_date = Displays current date
today = Alias of the above date = Alias of the above
current_month_name = Current month full name (Ex: ‘January’, ‘October’, etc)
month = Alias of the above
current_time = Returns current time (Ex: ‘Tue Feb 23 17:09:52 -0600 2010’)
now = Alias of the above time = Alias of the above

end_of_month = Returns a Ruby date of the last day of the current month (full date)

end_of_month_day = Returns the last day of the current month (Ex: If it’s January it would return ‘31’)

last_month = Returns a Ruby date for the first day of last month

last_month_name = Returns the name of the previous month

next_month = Returns a Ruby date for the first day of next month

next_month_name = Returns the name of next month

raf_not_set = Returns boolean: TRUE if a RAF cookie is set for current user, FALSE otherwise

referral_configs = Returns array of referral config objects for current user

referral_config = Returns the FIRST referral config object for current user

payment_search_results = Returns array of payment objects, bubbles problem payments to the top

start_date = Users controller param start_date || ymd_start to return a ruby date, rescues to first day of the current month if none present
start = Alias of the above
end_date = Users controller param end_date || ymd_end to return a ruby date, rescues to last day of the current month if none present
end = Alias of the above

full_stats = Returns array of importer data objects dependent upon the start_date and end_date

cashout_methods = returns array of cashout option objects

cashout_min = Returns the minimum cashout amount formatted as a dollar amount

analytics_tracking = Returns the current website’s Google Analytics tracking code which must be saved via the backend