Can't display alert messages across all pages in customer-facing portal
Hello there,
I would like to have the messages for any given user's "limit-reached" alerts display at the top of the screen across all pages until they either upgrade their plan or close the alert manually.
My questions:
1. Can anyone confirm that the alert.message value should be available site-wide?
2. Assuming that these alert messages are available site-wide, how would I access them? Here is the test code I'm using....
APPLICATION ALERTS
{% for application in current_account.applications %} THIS IS AN APPLICATION: {{ application.name }}
{% for alert in application.alerts %} THIS IS AN ALERT:
{{alert.message}} {% endfor %} {% endfor %}
...and below is what shows up on screen:
THIS IS AN APPLICATION: Application Alert Test
THIS IS AN ALERT:
Liquid error: undefined method
to_liquid' for # THIS IS AN ALERT:
Liquid error: undefined methodLiquid error: undefined method
to_liquid' for # THIS IS AN ALERT:
Liquid error: undefined methodAnyone have any ideas with regards to these 2 questions?
Thanks!
Doron
Responses