pop
pop
The pop tag is useed to handle bubble'd messages.
NOTE: Core uses the following tags in it's messages:
- type
- [typename]
- container
- rule
- security
- updated
- created
- deleted
- workflow
- information
- warning
- error
- system
- updateapp
Metadata
Single Tag | true |
---|---|
XML Style | true |
Examples
This tag has two modes: custom output and automatic output.
Custom output<skin:pop start="<ul>" end="</ul>"> <li><strong>#message.title#</strong> #message.message#</li> </skin:pop>Automatic output:
<skin:pop format="headerblock" />Only handling messages with specific tags:
<skin:pop format="headerblock" tags="error" />
Attributes
Name | Type | Required | Default | Options | Description |
---|---|---|---|---|---|
tags | string | No | Messages with any of these tags will be popped. All messages are popped by default. | ||
variable | string | No | message | The variable that the message information will be stored in | |
start | string | No | String to output at the start ONLY if there is at least one matching message | ||
end | string | No | String to output at the end ONLY if there is at least one matching message | ||
format | string | No | Automatically process the output using "gritter" or "headerblock" |