Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • vijayadurga 17 posts 37 karma points
    Apr 02, 2013 @ 10:24
    vijayadurga
    0

    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>

     

  • Jan Skovgaard 11280 posts 23678 karma points MVP 10x admin c-trib
    Apr 02, 2013 @ 20:25
    Jan Skovgaard
    0

    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

Please Sign in or register to post replies

Write your reply to:

Draft