Improved handling for related links (link list name now supported) in Foundry

git-svn-id: https://svn.libreccm.org/ccm/trunk@4162 8810af33-2d31-482b-a856-94f89814c4df
master
jensp 2016-06-16 13:07:56 +00:00
parent 8ff655f792
commit d91eb7d386
1 changed files with 7 additions and 2 deletions

View File

@ -70,14 +70,19 @@
<xsl:copy-of select="$data-tree/nav:greetingItem/cms:item/*"/>
</xsl:when>
<xsl:otherwise>
<xsl:copy-of select="$data-tree/cms:contentPanel/cms:item/*"/>
<xsl:copy-of select="$data-tree/cms:contentPanel/cms:item/*"/>
</xsl:otherwise>
</xsl:choose>
</xsl:param>
<xsl:variable name="links-layout-tree" select="current()"/>
<xsl:for-each select="$contentitem-tree/links">
<xsl:variable name="link-list-name"
select="if(./@link-list-name)
then ./@link-list-name
else 'NONE'" />
<xsl:for-each select="$contentitem-tree/links[./linkListName=$link-list-name]">
<xsl:sort select="linkOrder"/>
<xsl:choose>