Copied to clipboard

Flag this post as spam?

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


  • Eran Meir 401 posts 543 karma points
    Jan 08, 2011 @ 12:06
    Eran Meir
    0

    Tag cloud on usercontrol

    hey, anyone implemented tag cloud on user control?

    i'm having trouble getting the count of document that has tags.

  • Dirk De Grave 4541 posts 6021 karma points MVP 3x admin c-trib
    Jan 08, 2011 @ 12:33
    Dirk De Grave
    0

    Maybe show us some code snippet you've put together to help you further...

     

    Cheers,

    /Dirk

  • Eran Meir 401 posts 543 karma points
    Jan 08, 2011 @ 12:47
    Eran Meir
    0

    i'm looking for a way to do  

    tagsLib:getAllTagsInGroup('Umbraco')/tags/tag/@nodesTagged

    but in c#

  • Dirk De Grave 4541 posts 6021 karma points MVP 3x admin c-trib
    Jan 08, 2011 @ 13:02
    Dirk De Grave
    0

    You can use the same method getAllTagsInGroup from the umbraco.editorControls.tags.library class to fetch the results. Function returns results as an XPathNodeIterator, which you can iterate to get the info you need.

    Alternatively, use umbraco.cms.businesslogic.Tags.Tag.GetTags(group) directly (getAllTagsInGroup uses this as well) and returns a IEnumerable<Tag>

    Hope this helps.

    Regards,

    /Dirk

     

  • Eran Meir 401 posts 543 karma points
    Jan 08, 2011 @ 13:20
    Eran Meir
    0

    thank you ! the editorcontrols will help, didn't know its there.

Please Sign in or register to post replies

Write your reply to:

Draft