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
Hi all
Been trying to get this for a while but can't quite get it!
I have the following XSLT which displays all child nodes (in this case properties) under a location node. I basicakly just want to limit the number of preview boxes shown for each property.
Hopefully makes sense!
Heres my code, thanks all!
<?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:ucomponents.strings="urn:ucomponents.strings" exclude-result-prefixes="msxml umbraco.library ucomponents.strings"> <xsl:include href="../Property/Property.xslt"/> <xsl:include href="../Property/smallProperty.xslt"/> <xsl:param name="currentPage"/> <xsl:template match="/"><xsl:choose> <xsl:when test="$currentPage/ancestor-or-self::* [@isDoc]/threecol = 1"><xsl:call-template name="smallrenderproperties"> <xsl:with-param name="smallcsvproperties" select="ucomponents.strings:Concat($currentPage//AProperty[string(umbracoNaviHide) != '1']/@id, ',')" /> </xsl:call-template> </xsl:when> <xsl:otherwise><xsl:call-template name="renderproperties"> <xsl:with-param name="csvproperties" select="ucomponents.strings:Concat($currentPage//AProperty[string(umbracoNaviHide) != '1']/@id, ',')" /> </xsl:call-template> </xsl:otherwise> </xsl:choose></xsl:template></xsl:stylesheet>
Hi Peter
Could you also post the contents from the two included xslt files? I think that will make it a bit easier to figure out what is going on.
Cheers,Jan
http://www.nibble.be/?p=11
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
XSLT Paging
Hi all
Been trying to get this for a while but can't quite get it!
I have the following XSLT which displays all child nodes (in this case properties) under a location node. I basicakly just want to limit the number of preview boxes shown for each property.
Hopefully makes sense!
Heres my code, thanks all!
Hi Peter
Could you also post the contents from the two included xslt files? I think that will make it a bit easier to figure out what is going on.
Cheers,
Jan
http://www.nibble.be/?p=11
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.