Chi Kien Uong
Geranienstraße 30
71034 Böblingen
Deutschland / Germany
|
If you are not registered or logged in, you may still use these forums but with limited features.
Show recent topics
|
|
|
Author |
Message |
07/09/2007 22:16:27
|
grayfox
Newbie
Joined: 07/09/2007 22:15:10
Messages: 1
Offline
|
Is there a way to display on the results of polls on a page? For say a, "Previous Polls Results" page?
|
|
21/09/2007 02:50:00
|
spacestout
Newbie
Joined: 21/09/2007 02:19:43
Messages: 2
Location: Utah, USA
Offline
|
It seems like your previous polls don't go away. They can still be found in the admin panel. So, on your results page you just display the poll in the same manner as you did originally by its poll number.
You probably don't want the Vote button showing up. You can modify the templates in the admin panel. For Poll View, there is code in the "display_foot":
<input type="hidden" name="action" value="vote">
<input type="hidden" name="poll_ident" value="$poll_id">
<input type="submit" value="$pollvars[vote_button]" class="input">
Removing or modifying this could remove the Vote button. However, I don't know if it would remove the vote button in your current polls as well.
The task is to remove the vote button, whether in the admin panel, or by setting variables in your display code. Then, your poll displays with just the results link.
|
|
|
|
|
|
Based on the open source JForum
|