Zum Inhalt springen

jk poll

Erstellt am 16. April 2007 · 1 Antwort · letzte Antwort am 16. April 2007

Tags: Frage, English

htp ·

Hi,

I use jk_poll extension for my poll system. I assign to a page to a submarker in template like this:

#--set poll plugin--#
poll < plugin.tx_jkpoll_pi1
#where all the templates
poll.pid = 51

#set template
poll.template = fileadmin/rw/poll.html

poll.type = 0
poll.cookie = off
#show the list of polls
#poll.list = 51

and set to template subparts:

#-- poll assign
        subparts.POLL < poll

I want to set old polls link, but I can't find in ts config options. The link must be viewable after user vote.

I start working on the source files of jk_poll extension and will come back to you soon.

If someone have answer for this, please let me know 🙂

thanks again. Georgi.

htp ·

First I create a typo3 page via admin backend called for example old polls.
Second - I go to jk_poll extension file cms/typo3conf/ext/jk_poll/pi1/ and open for edit class.tx_jkpoll_pi1.php file.

On the row 252 I add this:

$content .= "<br />";
$content .= '<a href="index.php?id=73" target="_self" class="roll_a" id="but-align">&#1089;&#1090;&#1072;&#1088;&#1080;</a>';

id=73 is page that holds typo3 poll list.

In this way after voting you can view old polls result.

Georgi.