You can see my problem here in sidebar at the top, right: http://uvamagazine.org/classnotes/test-year/y2008
When you hit “vote” the results from ANOTHER poll are returned. I’m using a relationship to connect the poll to the entry.
I have a feeling my problem lies in the AJAX template:
{exp:weblog:entries
weblog="polls"
entry_id="{segment_4}"
show_future_entries="yes"
show_expired="yes"
limit="1"
rdf="off"
disable="categories|category_fields|member_data|pagination|trackbacks"
dynamic="off"
}
{embed="classnotes/polls-classnotes-embed"
entry_id="{entry_id}"
poll_question="{poll_question}"
entry_date="{entry_date format="%D, %F %d, %Y - %g:%i:%s"}"
expiration_date="{expiration_date format="%D, %F %d, %Y - %g:%i:%s"}"
ajax_return="classnotes/polls-classnotes-ajax/{entry_id}/"
}
{/exp:weblog:entries}{segment_4} is NOT the ID for the poll. But it won’t work if I take that parameter out. Any ideas? Thank you!!
Packet Tide owns and develops ExpressionEngine. © Packet Tide, All Rights Reserved.