Adding a Poll to a Module
You guessed it... Just like all the other features, polls can be displayed in a module.
However, since you created a custom poll, there is no pre-defined module to use. In this section, you will create a new module in which to display the poll.
In this section
Creating a Module
To begin:
- Select Settings > Modules from the menu module.
Tip
You can also access the Admin Modules page by clicking Modules in the Quick Admin module.} - On the Admin Modules page, click Custom Modules tab.
- In the Create new custom module area, enter the following information in each field:
- Name: Enter a name for the module. This name will be used, internally, by Tiki and you (as the admin) only. Users will not see this name.
- Title: Enter a name to appear as the title of the module. This is the title that users will see.
- Parse using: Select Wiki Markkup. This allows you to use the Poll wiki plugin (and any other wiki syntax in the module.
- Data: Here is where you need to identify which poll to add. Simply enter
{poll pollId="XX"}
where XXis the ID of the poll to add.
What? You don't remember the ID number of the poll you created? That's OK. In the Objects That Can Be Included area, select the poll (from the Available Polls list) and click Use poll. Tiki automatically adds the necessary code to the Data area. Select an exiting poll (or other object) to add to the module.
- Click Create. Tiki prompts for confirmation, then saves the module and reloads the page.You new poll is listed on the Custom Modules tab.
Now that you have created the poll module, you need to assign it to a column (just like you did previously with the other modules).
Assigning the Module
- From the Admin Modules page, click the Custom Modules tab. Your poll module appears on the Custom Modules tab.
- Select Actions > Assign for the poll.
Tiki loads the Edit Module tab, with the My Poll module selected. - Confirm that you newly created poll is selected, then click Module Options
Tiki loads your poll in the Edit Module tab.
- Enter the following information in each field:
- Position: Select Right. You will add this module to the right column.
- Order: Enter 25. This will place the poll module at the bottom of the right column, under all the other modules.
- Groups: Select Anonymous, so that all visitors can see the module.
Note
Do you remember when you configured the polls that you enabled the Anonymous Poll Voting option? Selecting the Anonymous group here will allow visitors to actually view the poll.
- Click Preview. Tiki reloads the page and shows you a preview of the module.
- If everything looks good, click Assign. Tiki prompts for confirmation then saves the information and reloads the page.
The poll now appears in the right column.
Note
<HR>
Copyright
This guide is based on content originally published by KeyContent.org.
This guide is Copyright (C) 2007-2013, 2019 by Rick Sapir and others under a Creative Commons Attribution-Share Alike 4.0 License. Some rights reserved.
Essentially, you are are free:
|
to Share — to copy, distribute and transmit the work |
|
to Remix — to adapt the work |
Under the following conditions:
|
Attribution. You must attribute the work to me, as the original licencor, but not in any way that suggests that I endorse you or your use of the work. Fair attribution includes a return link to http://tikiforsmarties.com (for online use) and mention of primary author (Rick Sapir) and original publisher (KeyContent.org). |
|
Share Alike. If you alter, transform, or build upon this work, you may distribute the resulting work only under the same, similar or a compatible license. |
Please read http://creativecommons.org/licenses/by-sa/3.0/legalcode for the full license.
Tiki®, TikiWiki® and the Tiki logo are registered trademarks of the Tiki Software Community Association, used with permission.