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 
Listing pools  XML
Forum Index » Support Forum
Author Message
tanzaweb
Newbie

Joined: 06/12/2005 19:50:40
Messages: 3
Location: Denmark
Offline

Hi

Is there anyone htat know how it is possible to list the polls, and maybe make a next - previous link if you have many polls?

Have just installed it and is testing the script.

Thank you in advance for any help.
amber222
Graduate

Joined: 07/05/2004 21:13:07
Messages: 586
Offline

This is shown in Demo3:
  • http://proxy2.de/poll/demo_3.php

  • The sample code is on the left. Customize it to fit your site.



    Also, here is a post with an example:
    http://proxy2.de/forum/viewtopic.php?t=4493&highlight=poll+list
    toast
    Newbie

    Joined: 30/09/2006 22:05:56
    Messages: 4
    Offline

    I'm having a bit of an issue with the code for the poll list. I took the code listed in this thread and it works great! However I wanted my list to by default display the most recent poll until someone clicks a link for a specific poll. When I changed the value from echo $php_poll->poll_process("random"); to echo $php_poll->poll_process("newest"); it really messed things up. It defaults to the most recent poll, and clicking on a link to another poll works fine. However, when you then click the "result" link for any poll it sends you to the most recent poll. Clicking result for the most recent poll does work however.

    Help?

    Thanks everyone, other then this it's been working awesome!
     
    Forum Index » Support Forum
    Go to:   
    Based on the open source JForum