
272
| Guest Management
ClearPass Guest 3.9 | Deployment Guide
Plain text print templates may be used with SMS services to send guest account receipts; See
“About SMS
Guest Account Receipts”
in this chapter for details. Because SMS has a 160 character limit, the number of
character used in the plain text template will be displayed below the preview. If you are including a guest
account’s email address in the SMS, remember to allow for lengthy email addresses (up to 50 characters is a
useful rule of thumb).
Creating New Print Templates
Print templates can be defined using the
Crea
te new print template
link. This opens a window with
four parts. The first part lists the variables that can be used in the template together with their meaning and
an example of each.
This section is followed by three other sections: the body, the header and the footer. Each section must be
written in HTML. There is provision in each section for the insertion of multiple content items such as
logos.
You are able to add Smarty template functions and blocks to your code. These act as placeholders to be
substituted when the template is actually used.
See
“Smarty Template Syntax”
in the Reference chapter for further information on Smarty template
syntax.
You are able to use an
{if}
statement to define a single print template that caters for multiple situations. For
example if you want to customize the print template to display different content depending on the action
that has been taken, the following code could be used:
{if $action == "create"}
<p>
Your guest account has been created and is now ready to use!
</p>
<ul>
{if $site_ssid}
<li>Connect to the wireless network named: <b>{$site_ssid}</b></li>
{/if}
<li>Make sure your network adapter is set to 'DHCP - Obtain an IP address
Automatically'.</li>
<li>Open your Web browser.</li>
<li>Enter your username and password in the spaces provided.</li>
</ul>
{elseif $action == "edit"}
<p>
Содержание ClearPass Guest 3.9
Страница 1: ...ClearPass Guest 3 9 Deployment Guide ...
Страница 32: ...32 Management Overview ClearPass Guest 3 9 Deployment Guide ...
Страница 178: ...178 RADIUS Services ClearPass Guest 3 9 Deployment Guide ...
Страница 316: ...316 Guest Management ClearPass Guest 3 9 Deployment Guide ...
Страница 328: ...328 Report Management ClearPass Guest 3 9 Deployment Guide Figure 46 Components of the Report Editor Report Type ...
Страница 410: ...410 Administrator Tasks ClearPass Guest 3 9 Deployment Guide ...
Страница 414: ...414 Administrator Tasks ClearPass Guest 3 9 Deployment Guide ...
Страница 423: ...ClearPass Guest 3 9 Deployment Guide Hotspot Manager 423 ...
Страница 440: ...440 High Availability Services ClearPass Guest 3 9 Deployment Guide ...
Страница 518: ...518 Index ClearPass Guest 3 9 Deployment Guide ...