---
title: "jk poll"
url: "https://www.typo3.net/d/61054-jk-poll"
source: "typo3.net"
tags: ["Extensions","English","Frage"]
created: "2007-04-16"
last_reply: "2007-04-16"
replies: 1
solved: false
page: 1
pages: 1
lang: "en"
---

# jk poll

Extensions · 1 Antwort · gestartet 2007-04-16

## Eröffnungsbeitrag

**htp** · 2007-04-16 · [Beitrag #1](https://www.typo3.net/d/61054-jk-poll/1)

Hi,

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

```typoscript
#--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:

```typoscript
#-- 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.

## Antworten

### [#2](https://www.typo3.net/d/61054-jk-poll/2) · htp · 2007-04-16

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:

```php
$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.

---

Quelle: „jk poll“, typo3.net, https://www.typo3.net/d/61054-jk-poll
Beiträge von Mitgliedern des Forums. Bitte mit Link auf die Diskussion zitieren.
