- Joomla! 1.5: Beginner's Guide
- Eric Tiggeler
- 176字
- 2024-12-20 23:42:54
Time for action—display the Poll
The Poll component uses the Poll module. This module tells Joomla! on what pages the Poll should appear and on what position it should be displayed:
- Navigate to Extensions| Module Manager. Click on New.
- In the Module: [New] screen, click on the Poll module. Click on Next.
- In the Title box, type Vote!.
- Click on Show Title: Yes.
- Select Position: right. The survey will appear in the right-hand side column.
- In the Menu Assignment section, click on Select Menu Item(s) from the List. Select mainmenu: Home. You can have the survey appear on any page; in this case, it will appear only on the home page.
- In the Module Parameters section, select the poll you've created.
- Click on Save and click on Preview. The Poll is displayed on the frontend:
What just happened?
Your site now shows a simple poll on the home page. The site visitor can select one option, click on the Vote button, and view the results. The results are shown in the main content screen.