Polling & Survey - Templates
Below are the list of files that control key areas of the polls' design & layout.
Our software uses a template system for a universal design and simple integration into any website. The page templates are a standard HTML files containing special markers. The library files are used to further control the design within that template layout.
Note: Each marker must be contained between a pair of curly braces (i.e. {HTML_MAIN}) or the generated content will not be displayed.
Polls & Administration Templates - Files & Markers
Front-End Polls Template – File: /Templates/poll.htm
Administration Template – File: /Templates/poll_admin.htm
The Front-End template is for displaying poll questions and results.
The Administration template is for displaying administration areas.
Marker | Description |
---|---|
HTML_MAIN | This marker is where the majority of the content will be placed. It should be placed inside a large, flexible region of the HTML document. |
NAVIGATION | Displays an administrative navigation menu (administration template only). |
HTMLTITLE | Display varies with the page being viewed. The text is displayed in the title bar of the browser and the marker is placed between <TITLE> and </TITLE> in the HTML document. |
Pop-Up Window Template – File: Templates/js_poll.htm
The pop-up window template is for displaying poll questions and results in a JavaScript pop-up window.
Marker | Description |
---|---|
HTML_MAIN | This marker is where the majority of the content will be placed. It should be placed inside a large, flexible region of the HTML document. |
HTMLTITLE | Displays "Poll -- Please Vote". The text is displayed in the title bar of the browser and the marker is placed between <TITLE> and </TITLE> in the HTML document. |