Copied to clipboard

Flag this post as spam?

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


  • Don Ross 5 posts 25 karma points
    Jan 27, 2010 @ 19:24
    Don Ross
    0

    How to make PollNodeId dynamic

    It would be very helpful to have the PollNodeId dynamic so that different polls can run on different site pages.  I attempted to do this with an xslt script, but quickly learned that calling a .NET macro from within an xslt file doesn't function in Umbraco. Has anyone had any experience doing this in a template?

    If anyone can advise on this, we would greatly appreciate it!

  • Eran Meir 401 posts 543 karma points
    Dec 14, 2010 @ 18:58
    Eran Meir
    0

    i dont know if you still need the answer but for anyone who will...

    i made a contentpicker parameter on the "Homepage" (my root document) document type and and named it poll

    on the templated i write pollnodeid="[$poll]" so it will take the value recursively. hope it helps.

  • Max Öhman 42 posts 71 karma points
    Dec 16, 2010 @ 09:37
    Max Öhman
    0

    Just wanted to say thanks to Eran for posting a solution. Keep it up!

  • 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