Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Fuji Kusaka 2203 posts 4220 karma points
    Feb 29, 2012 @ 19:26
    Fuji Kusaka
    0

    Poll with Contour

    Hi everyone,

    I need to make a poll in one of my website and currently using contour. Following the tutorial http://www.nibble.be/?p=81 i have set up everything with the form picker but somehow no results is being displayed. Instead am getting a  parsing error

    Error parsing XSLT file: \xslt\ContourPollResults.xslt

    I did also notice that if i logged in with the same user  on another browser i can vote again which is completely wrong and not sure on how to solve and work with the umbraco event.

    Any suggestions on this please??


    //fuji

  • Profiterole 232 posts 264 karma points
    Feb 29, 2012 @ 20:07
    Profiterole
    0

    Hi, basic question, have you add xmlns:contourpoll="urn:contourpoll" in your stylesheet declaration at the begining of the xslt file?

    For the vote again problem, the package create a cookie for the browser. So, if you switch browser, there's no cookie. But I don't know how to achevie what you want.

  • Matt Bliss 176 posts 234 karma points c-trib
    Feb 29, 2012 @ 20:15
    Matt Bliss
    0

    To only allow a logged in user to vote once you could use relations rather than a cookie

    http://umbraco.com/help-and-support/video-tutorials/developing-with-umbraco/relations.aspx

Please Sign in or register to post replies

Write your reply to:

Draft