Copied to clipboard

Flag this post as spam?

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


  • Dan 1288 posts 3921 karma points c-trib
    Jul 12, 2011 @ 16:54
    Dan
    0

    tagsLib:getAllTagsInGroup in 4.7

    Hi,

    I have a structure like this:

    - Journal
    -- Article 1
    -- Article 2
    -- Article 3 etc

    The article document type has a tags data type.  I've just upgraded a 4.5.1 site to 4.7.0.  The site used the tagsLib:getAllTagsInGroup XSLT extension to get a list of tags in a group, but in 4.7 this extension doesn't seem to work.

    I can't find any documentation on how to access/manipulate tags in 4.7.  I know they're now stored as simple comma-separated text values in the XML cache, so is it just a case of grabbing all values from the XML and processing it to return only distinct values, or is there another extension method or something I'm missing?

    Thanks

  • Dan 1288 posts 3921 karma points c-trib
    Jul 29, 2011 @ 11:49
    Dan
    0

    Just a friendly bump on this.  I'm coming back to this project and still can't find any info on whether this XSLT extension should work in 4.7 or not.  If not, is there a replacement extension?

  • Dan 1288 posts 3921 karma points c-trib
    Oct 16, 2011 @ 18:09
    Dan
    2

    Just came across this issue again and realised I'd sorted it last time by adding the setting into 'config > xsltExtensions.config' which isn't there by default:

    <ext assembly="umbraco.editorControls" type="umbraco.editorControls.tags.library" alias="tagsLib" />

    Hope this helps someone in future, or at least me if I forget again ;)

  • William Charlton 171 posts 218 karma points
    Oct 08, 2013 @ 16:36
    William Charlton
    0

    I'm just recreating a 4.11.1 site over to a 6.1.4 site (it's actually easier and safer than attempting to upgrade) and got to a "Cannot find a script or an extension object associated with namespace 'urn:tagsLib' " error, after I tried to implement an XSLT script which was used on the old site to deal with Tags generated by the Sniper systems Tag Control.

    It rang a bell but the old site is probably about a year old now so I couldn't remember how I fixed it.

    Thank you for reminding me, I was lost in all the irrelevant references to Blog4Umbraco which my search brought up - then I found this and it all came back to me.

    Thanks again

Please Sign in or register to post replies

Write your reply to:

Draft