addedValueMacros.mailPageLink
Syntax
{addedValueMacros.mailPageLink(whatText, reportID, whatTarget=nil, anchor=nil, class=nil, title=nil, accesskey=nil, hreflang=nil, tabindex=nil, onmouseOver="", onmouseOut="", onClick="")}
- whatText - a string which will the text of the link.
- reportID - the name of an addedValues report which will be used to build the email text.
- whatTarget - optional, value of the target attribute for the link.
- anchor - optional, value of the anchor attribute for the link.
- class - optional, value of the class attribute for the link.
- title - optional, value of the title attribute for the link.
- accessKey - optional, value of the accesskey attribute for the link.
- hrefLang - optional, value of the hreflang attribute for the link.
- tabindex - optional, value of the tabindex attribute for the link.
- onmouseOver - optional, value of the onmouseOver attribute for the link.
- onmouseOut - optional, value of the onmouseOut attribute for the link.
- onClick - optional, value of the onClick attribute for the link.
Examples
| {addedValueMacros.mailPageLink("Mail this Page", "mailRefPage")} |
|
The link is functional if you are logged into this website, click it for a test. To see the report used click
Examine mailRefPageReport.
Semantics
mailPagelink implements a variant of Manila mail this story macro. The macro returns a link which, when clicked, displays a page with form to enter email addresses to which the results of running the report will be sent. The form also allows you to add a personal message to the email. The report is run in the context of the original page message.
The two required parameters specify the link text and the name of a report. If any of the optional parameters whatTarget, anchor, title, title, accesKey, hrefLang, tabindex, onmouseOver, onmouseOut, onClick are present they are used to build the link.
See also