Follow

Custom Poll Results Template

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

  1. Go to CONTENT > VIEW TEMPLATES to view the list of Templates.
  2. Click Create new Template to open the Create Template page.
  3. Enter a Name and Subject.  The Subject will not be used, but is required.
  4. Click the HTML tab.
  5. 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

  1. Go to CONTENT > VIEW POLLS to view the list of polls.  
  2. Click the Poll name to open the Edit Poll page.
  3. Scroll to the Results section of the page.
  4. Select the template you created above from the Result Template field.
  5. Click UPDATE to save the changes.
Was this article helpful?
0 out of 0 found this helpful
Have more questions? Submit a request

Comments

Powered by Zendesk