Table of Contents
Overview
The default Landing Page for a Poll is a basic Poll Results page. This page is branded to the system you are logged into. You can customize the Poll Results Landing Page by creating your own template.
To create a custom Poll results template
- Go to CONTENT > VIEW TEMPLATES to view the list of Templates.
- Click Create new Template to open the Create Template page.
- Enter a Name and Subject. The Subject will not be used, but is required.
- Click the HTML tab.
- Enter your custom template code, then click CREATE.
Example Poll Results Template Code
A Results template supports the following tags:
Tag | Description |
---|---|
%%$poll_name%% | The name of the poll |
%%$poll_description%% | The description/question asked by the poll |
%%$poll_totalresponses%% | The total number of responses received by the poll |
%%$poll_id%% | The id of the poll |
%%$results%% | The chart containing poll results |
An example Results template may use the following code:
<html> <head> <title>%%$poll_name%% Results</title> </head> <body> <h1>Poll Results</h1> <p>%%$poll_description%%</p> <table border="1"> <tr><td>%%$results%%</td></tr> </table> <p>Number of Responses: %%$poll_totalresponses%%</p> </body> </html>
Add the template to the Poll
- Go to CONTENT > VIEW POLLS to view the list of polls.
- Click the Poll name to open the Edit Poll page.
- Scroll to the Results section of the page.
- Select the template you created above from the Result Template field.
- Click UPDATE to save the changes.