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 hop someone can help me. it is my first time with xlst files, so please make it as easy as it can be :-)
I would like to have a area on a subpage on umbraco where specified other pages should be shown.
I already mad an xlst for listening subpages, works great. but I need something more specific.
I need sites to be shown from different paths. for example
MAIN1
sub1
subsub1
sub2
subsub2
sub3
now on Sub1 I would like to have all pages listed which are under Sub2.
is there some kind of a filter I can use? I alread tried "List Subpages from a Changable Source"
but I don't know how to change the code.... :-(
any help would be great.
thank you
Hi,
Before xslt you need to study xpath then only the xslt coding become easy.
<xsl:variable name="sub2" select="umbraco.library:GetXmlNodeById(1068)" />
<xsl:variable name="sub2child" select="$sub2/child::node()"/> <xsl:for-each select="$sub2child/@nodeName"> <xsl:value-of select="."/> <br/> </xsl:for-each>
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
creating an XLST file which should show me selective pages
hello,
I hop someone can help me. it is my first time with xlst files, so please make it as easy as it can be :-)
I would like to have a area on a subpage on umbraco where specified other pages should be shown.
I already mad an xlst for listening subpages, works great. but I need something more specific.
I need sites to be shown from different paths. for example
MAIN1
sub1
subsub1
subsub1
sub2
subsub2
subsub2
sub3
now on Sub1 I would like to have all pages listed which are under Sub2.
is there some kind of a filter I can use? I alread tried "List Subpages from a Changable Source"
but I don't know how to change the code.... :-(
any help would be great.
thank you
Hi,
Before xslt you need to study xpath then only the xslt coding become easy.
<xsl:variable name="sub2" select="umbraco.library:GetXmlNodeById(1068)" />
<xsl:variable name="sub2child" select="$sub2/child::node()"/>
<xsl:for-each select="$sub2child/@nodeName">
<xsl:value-of select="."/>
<br/>
</xsl:for-each>
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.