0
Doctype에 textstring 속성 "externalURL"을 추가했습니다. 텍스트 문자열에 외부 URL을 입력하고 해당 링크가 탐색 내에서 해당 링크를 클릭 할 때 외부 URL로 리디렉션하려고합니다.Umbraco 외부 URL 리디렉션
그러나 작동하지 않는 경우 다음
<a>
<xsl:attribute name="href">
<xsl:choose>
<xsl:when test="string(externalUrl) != ''">
<xsl:value-of select="externalUrl" />
</xsl:when>
<xsl:otherwise>
<xsl:value-of select="umbraco.library:NiceUrl(@id)" />
</xsl:otherwise>
</xsl:choose>
</xsl:attribute>
<xsl:if test="descendant-or-self::*[@id = $currentPage/@id]">
<xsl:attribute name="class">current</xsl:attribute>
</xsl:if>
<xsl:value-of select="@nodeName" />
</a>
는 사람이 함께 도와 드릴까요?
JV10, 전체 XSLT 파일을 공유 할 수 있습니까? 내 Umbraco 사이트로 외부 URL 리디렉션을 추가하는 작업도하고 있습니다. – ajexpress