Skip to main content
You have permission to edit this article.
Edit

How Do I Change The Metering Messages?


NOTE: If you want fully custom messages you need to override the app Metering/macros/module.messages.utl file.

If you just want to override a single message you just have to override that macro. (See below for the individual macros)
A message with the 'data-count' attribute and a value containing a number will only be displayed at a particular count. A message without a 'data-count' attribute will, if it exists, display if there is no message for a specific count.
A message with the 'data-registered' attribute set to true/false will only be displayed when a user is logged in/not logged in these messages are only available when also using a specific count.
Elements with the 'count' class will have their content replaced with the current ascending count. Elements with the 'remaining' class will have their content replaced with the current descending count. Elements with the 'total' class will have their content replaced with the total count.

BEST PRACTICE: The utl file can be named anything, although naming it the same as the existing file may be a good idea.


Flex / Components / app Metering / macros / module.messages.utl
view
Flex / Components / _Site / macros
MeteringUTLMessagesLegend.jpg

We want your feedback!

See something that needs updating or additional clarification? Want assistance with a topic that isn’t listed here? Please let us know!

At BLOX Digital we are dedicated to providing you the information you need to be successful when you need it.

Visit our feedback page to log in, submit a support ticket, and track the progress of your open requests.