Creating a Poll for your Site
Creating a Poll for your Site
There are 2 steps you need to complete in order to create a poll and display it on your Joomla site. First you need to create a poll component and then you need to create a module in which to display your poll. Once someone votes in your poll the results are available for viewing, the poll component displays the results to visitors when they click on the results button in the module.
Step 1 – Create a Poll Component
First go to the Administration panel and select Components and then Poll from the menu.
This will take you to the Poll Manager screen. Click the New button on the top right of the screen. This will take you to the Poll: [New] screen. In the Details Section enter a title for the poll, this is what you would like visitors to vote on. I have entered “How did you find Creating Your First Poll?” Because we don’t want people to just vote over and over again, Joomla imposes a time limit wherein a visitor can only vote once during this amount of time. This time limit can be adjusted by changing the value in the lag box under details. I have left it at the default which is set to 86400 seconds, which equates to 24 hours. Set published to Yes.
The options section on the right, is where you enter what you would like your visitors to vote on, so if this were an election, the options would be your nominees. I have entered some options for visitors to vote on.
Click Save in the top right section of the screen. This will take you back to the Poll Manager screen, even though the poll is listed and it is said to published, it will not yet be visible from your Joomla site. To get your poll onto your site, you will need to create a module to display it.
Step 2 Create a Module to Display Your Pole
Go to Extensions and select Module Manager from the dropdown menu.
Click New on the Module Manager Screen and you will be taken to the Module:[New] Screen. Here there are a lists of modules that are available, because we want to create a module that will display our poll, select polls on the right hand side then click the next button in the top right of the screen.
This will take you the Module [Edit] Screen. In this screen we need to select our poll from the select poll drop down list on the right side of the screen (underneath module parameters). We also need to enter a title for our poll, this will be displayed above the poll in the module. I have entered “Tell Us what You Think?”
Click Save.
This will take you back to the Module Manager Screen, where you will be able to see your newly created module and that it is now active.
To see your new poll module click Preview in the top right of the menu (the one that is just below the green bar at the top of the administration panel), this will open up your Joomla site to the front page. In the image below the poll module that we just created appears below the menu on the left hand side of the screen, it has been highlighted in blue for illustration purposes.
Select one of the options and click Vote. The site visitor will be thanked for their vote (at the top of the screen) and the Poll component will display the current results of the poll.
Popularity: 2% [?]



