If you are not registered or logged in, you may still use these forums but with limited features. Show recent topics
  [Search] Search   [Hottest Topics] Hottest Topics   [Members]  Member Listing   [FAQ]  FAQ 
[Register] Register / 
[Login] Login 
Advanced Poll - Display only results?  XML
Forum Index » Support Forum
Author Message
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?
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.
[WWW]
 
Forum Index » Support Forum
Go to:   
Based on the open source JForum