Nats tooltip (NATS3)
From TMM Wiki
Jump to navigationJump to searchApplies to NATS 4.0.25 and greater.
nats_tooltip
Displays a help message in the admin and allows you to link the message to a knowledge base article.
Aliases: tooltip.
Parameters
(Required parameters in bold)
Parameter | Description | Possible Values | Default Value | Example |
---|---|---|---|---|
text | The text to be displayed in the tooltip | Any HTML-encoded text | None. | text="Calculate & Display Results" |
kb | The path to a knowledge base article | Any valid URL starting with http://kb.toomuchmedia.com/idx/0/ | None. | kb="193/691/Template_Functions/article/natstooltip.html" |
Output
Outputs HTML code to create a tooltip in your NATS administration interface.
Notes
- A line break (\n) provided to the text parameter will be replaced with an HTML line break (<br />)
- Uses the PHP function wordwrap to add automatic line breaks. Wordwrap intelligently breaks lines at the end of words.
See Also
- nats_tooltip -- This function for NATS4.