Copied to clipboard

Flag this post as spam?

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


  • Pete 213 posts 285 karma points
    Jul 10, 2012 @ 11:52
    Pete
    0

    Getting Poll results to appear

    Anyone got an example of the extensions that are supposed to go into the xlstextensions file for the display poll results extensions? It's already got

    <ext assembly="Umbraco.Forms.Core" type="Umbraco.Forms.Library" alias="umbraco.contour">


    but I think there should be one for poll results also to get it to work.

    Thanks

  • Tom Fulton 2030 posts 4998 karma points c-trib
    Jul 11, 2012 @ 04:38
    Tom Fulton
    0

    Hi Pete,

    Assuming you're using the poll source from this blog post, it's probably something like:

    <ext assembly="Contour.Addons.Poll" type="Contour.Addons.Poll.xsltExtensions" alias="contourpoll">

    And make sure to add it to your xslt:

    xmlns:contourpoll="urn:contourpoll"

    and

    exclude-result-prefixes=" ...... contourpoll"

    HTH,
    Tom 

  • Pete 213 posts 285 karma points
    Jul 11, 2012 @ 15:59
    Pete
    0

    Cheers tom, it was the exclude-result-prefixes in the end that did it.

  • Hardy Wang 91 posts 112 karma points
    Sep 05, 2012 @ 02:17
    Hardy Wang
    0

    Any one has a Razor version of sample to use Contour for poll?

  • This forum is in read-only mode while we transition to the new forum.

    You can continue this topic on the new forum by tapping the "Continue discussion" link below.

Please Sign in or register to post replies