I am facing pbm with Search xslt. i have installed package for Search (globally). but My pbm is it was searching in libraries also i dont want to search in libraries . how can i add the condition in existing XSLT ...
please any one help me on this
My code is :
<xsl:choose> <!-- form field value, if present --> <xsl:when test="string(umbraco.library:RequestQueryString('search')) != ''"> <xsl:value-of select="PS.XSLTsearch:cleanSearchTerm(PS.XSLTsearch:escapeString(string(umbraco.library:RequestForm('search'))))" /> </xsl:when> <!-- querystring value, if present --> <xsl:when test="string(umbraco.library:RequestQueryString('search')) != ''">
Search XSLT
Hi
I am facing pbm with Search xslt. i have installed package for Search (globally). but My pbm is it was searching in libraries also i dont want to search in libraries . how can i add the condition in existing XSLT ...
please any one help me on this
My code is :
<xsl:choose>
<!-- form field value, if present -->
<xsl:when test="string(umbraco.library:RequestQueryString('search')) != ''">
<xsl:value-of select="PS.XSLTsearch:cleanSearchTerm(PS.XSLTsearch:escapeString(string(umbraco.library:RequestForm('search'))))" />
</xsl:when>
<!-- querystring value, if present -->
<xsl:when test="string(umbraco.library:RequestQueryString('search')) != ''">
<xsl:value-of select="PS.XSLTsearch:cleanSearchTerm(PS.XSLTsearch:escapeString(string(umbraco.library:RequestQueryString('search'))))" />
</xsl:when>
<!-- no value -->
<xsl:otherwise>
<xsl:value-of select="''"/>
</xsl:otherwise>
</xsl:choose>
Hi There
How have you configured the aliases of the fields that XSLT search should look for? And what properties does your libraries contain?
/Jan
is working on a reply...