[Typo3] tt_poll on every page question
Horn Gábor
horn.gabor at aktiv.co.hu
Fri May 20 13:08:35 CEST 2005
Hi,
could you help me pelase w/ tt_poll? I want it to appear on every page,
at ###poll###. Following the docs and faq here's what i've done:
1, created a "not in menu" type page called "poll"
2, inserted a tt_poll record (uid=3) in it, specifying the question and
the answers in it
3, inserted an "insert record" type pagecontent (uid=267) which points
to the tt_poll record(uid=3)
4, added the following to my TS setup:
temp.plugin_tt_poll = RECORDS
temp.plugin_tt_poll {
source = 267 #pagecontent uid
tables = tt_content #tablename
}
...
subparts.poll < temp.plugin_tt_poll
5, in my template i made a palce for it:
<div id="poll"> here comes the poll</div>
---------------
After celaring the cache and checking the result i can see
<div id="poll"> </div>
in the output. So it replaces supbart.poll with an empty content.
Can you help me please what could be the problem?
thanks, hirisov
More information about the TYPO3-english
mailing list