Press Ctrl / CMD + C to copy this to your clipboard.
This post will be reported to the moderators as potential spam to be looked at
Hello,
I've downloaded the latest changeset from Blog4Umbraco, but the tagcloud still doesn't work.
This is the xslt file:
<?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE xsl:stylesheet [ <!ENTITY nbsp " "> ]> <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:msxml="urn:schemas-microsoft-com:xslt" xmlns:umbraco.library="urn:umbraco.library" xmlns:Exslt.ExsltCommon="urn:Exslt.ExsltCommon" xmlns:Exslt.ExsltDatesAndTimes="urn:Exslt.ExsltDatesAndTimes" xmlns:Exslt.ExsltMath="urn:Exslt.ExsltMath" xmlns:Exslt.ExsltRegularExpressions="urn:Exslt.ExsltRegularExpressions" xmlns:Exslt.ExsltStrings="urn:Exslt.ExsltStrings" xmlns:Exslt.ExsltSets="urn:Exslt.ExsltSets" xmlns:tagsLib="urn:tagsLib" xmlns:BlogLibrary="urn:BlogLibrary" exclude-result-prefixes="msxml umbraco.library Exslt.ExsltCommon Exslt.ExsltDatesAndTimes Exslt.ExsltMath Exslt.ExsltRegularExpressions Exslt.ExsltStrings Exslt.ExsltSets tagsLib BlogLibrary "> <xsl:output method="xml" omit-xml-declaration="yes"/> <xsl:param name="currentPage"/> <xsl:template match="/"> <div class="tagcloud"> <p> <xsl:for-each select="tagsLib:getAllTags()/tags/tag"> <xsl:sort select="." order="ascending"/> <a href="{umbraco.library:NiceUrl($currentPage/ancestor-or-self::Blog/@id)}?filterby={.}"> <xsl:attribute name="class"> <xsl:choose> <xsl:when test="@nodesTagged > 5"> <xsl:value-of select="string('tagweight5')" /> </xsl:when> <xsl:otherwise> <xsl:value-of select="concat('tagweight',@nodesTagged)"/> </xsl:otherwise> </xsl:choose> </xsl:attribute> <xsl:value-of select="."/> </a> <xsl:text> </xsl:text> </xsl:for-each> </p> </div> </xsl:template> </xsl:stylesheet>
Any idea what might be wrong with this? If I try to get the tag cloud I get "Error reading XSLT file: \xslt\BlogTagcloud.xslt"
Jeroen
Ok got it fixed because of this tip.
Thanks it saves me a lot of time.
There is some problem with BlogTagcloud.xslt file. I deleted the last line and wrote again and everything was in place.
is working on a reply...
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.
Continue discussion
Tagcloud still not working
Hello,
I've downloaded the latest changeset from Blog4Umbraco, but the tagcloud still doesn't work.
This is the xslt file:
Any idea what might be wrong with this? If I try to get the tag cloud I get "Error reading XSLT file: \xslt\BlogTagcloud.xslt"
Jeroen
Ok got it fixed because of this tip.
Jeroen
Thanks it saves me a lot of time.
There is some problem with BlogTagcloud.xslt file. I deleted the last line and wrote again and everything was in place.
is working on a reply...
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.