<!-- Don't change this but create a 'number' element in your --> <!-- macro with the alias of 'numberOfItems' --> <xsl:variable name="numberOfItems" select="/macro/numberOfItems"/>
On the BlogPosts page when I'm trying to filter by Tag I'm getting this error:
Cannot find the script or external object that implements prefix 'urn:umbracoTags.library'.
I've taken a look at the BlogArchives xslt and it's using a different namespace (I think) for the TagsLib, so I copied this in at the top of my xslt and made amendments to the types in the document to change from umbracoTags.library to tagsLib. This saves ok but when trying to view the page I'm getting this error:
Extension object 'urn:tagsLib' does not contain a matching 'getContentsWithTag' method that has 1 parameter(s).
I've tried searching for some documentation on the tagsLib to check what methods are available but can't find anything. Where am I going wrong? I'm trying to list out content related to a tag specified in the filter variable and at the base run a count and show content based on the tags in the node.
Can't seem to edit my post (I'm receiving an error). What I intended to edit was to post the code that showed the implementation of tagsLib in my BlogPosts xslt:
<!-- Don't change this but create a 'number' element in your --> <!-- macro with the alias of 'numberOfItems' --> <xsl:variable name="numberOfItems" select="/macro/numberOfItems"/>
tagsLib issues
I'm using umbraco Blog for umbraco 4.5.2. Here is my BlogPosts code:
My XsltExtensions looks like this:
On the BlogPosts page when I'm trying to filter by Tag I'm getting this error:
Cannot find the script or external object that implements prefix 'urn:umbracoTags.library'.
I've taken a look at the BlogArchives xslt and it's using a different namespace (I think) for the TagsLib, so I copied this in at the top of my xslt and made amendments to the types in the document to change from umbracoTags.library to tagsLib. This saves ok but when trying to view the page I'm getting this error:
Extension object 'urn:tagsLib' does not contain a matching 'getContentsWithTag' method that has 1 parameter(s).
I've tried searching for some documentation on the tagsLib to check what methods are available but can't find anything. Where am I going wrong? I'm trying to list out content related to a tag specified in the filter variable and at the base run a count and show content based on the tags in the node.
Can't seem to edit my post (I'm receiving an error). What I intended to edit was to post the code that showed the implementation of tagsLib in my BlogPosts xslt:
is working on a reply...