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
searchFields="@nodename,aaa,bbb"
previewFields="" searchBoxLocation="BOTTOM" previewType="BEGINNIG" resultsPerPage="10" previewChars="100" showPageRange="1" showOrdinals="0" showScores="0" showStats="0" Alias="XSLTsearch" runat="server"></
Why only search @ nodename
Does not search aaa,bbb?
As far as I can tell, your syntax looks fine according to the docs? Are you sure about the casing? your search fields are case sensitive!
Hope this helps.
Regards,
/Dirk
and
URL search.aspx?search=阿
Chinese characters are garbled
��
According to the document
Only the first valid searchFields
xslt decomposition of the string, where to find?
I'm not quite sure what the problem is that you're tring to describe.
Can you share a link to your search page so that I can see the behavior you're getting?
cheers,doug.
If
contains(ps:uppercase(umbraco.library:StripHtml(string(.))) = "AAAAAAAA"
concat($searchUpper, ' ') = “A”
Test Results
<xsl:value-of select="contains(ps:uppercase(umbraco.library:StripHtml(string(.))),concat($searchUpper, ' ')) "/>
RETRUN FALSE
<xsl:value-of select="contains("AAAAAA",concat($searchUpper, ' ')) "/>
<xsl:value-of select="contains(ps:uppercase(umbraco.library:StripHtml(string(.))),"A") "/>
RETRUN TRUE
Suspected to be encoded
How to solve the?
Check out this issue, but did not solve the searchfields
<xsl:value-of select="contains(ps:uppercase(umbraco.library:StripHtml(string(.))),$searchUpper) "/>
<xsl:value-of select="ps:UrlEncode(ps:escapeSearchTerms(string(umbraco.library:RequestQueryString('search'))))" />
public string UrlEncode(string str) { try { return System.Web.HttpUtility.UrlDecode(str); //ERROR umbraco should be how to write? } catch (Exception ex) { return null; } }
Hi,ysee
I have the same question : Chinese characters are garbled.
if you have resolved this issue,please tell to me.
Thanks,Erick
SORRY!
The work of busy these days!
Ok,lin04com
is working on a reply...
Write your reply to:
Upload image
Image will be uploaded when post is submitted
searchFields
searchFields="@nodename,aaa,bbb"
previewFields=""
searchBoxLocation="BOTTOM"
previewType="BEGINNIG"
resultsPerPage="10"
previewChars="100"
showPageRange="1"
showOrdinals="0"
showScores="0"
showStats="0" Alias="XSLTsearch" runat="server"></
Why only search @ nodename
Does not search aaa,bbb?
As far as I can tell, your syntax looks fine according to the docs? Are you sure about the casing? your search fields are case sensitive!
Hope this helps.
Regards,
/Dirk
and
URL search.aspx?search=阿
Chinese characters are garbled
��
According to the document
Only the first valid searchFields
xslt decomposition of the string, where to find?
I'm not quite sure what the problem is that you're tring to describe.
Can you share a link to your search page so that I can see the behavior you're getting?
cheers,
doug.
If
contains(ps:uppercase(umbraco.library:StripHtml(string(.))) = "AAAAAAAA"
concat($searchUpper, ' ') = “A”
Test Results
<xsl:value-of select="contains(ps:uppercase(umbraco.library:StripHtml(string(.))),concat($searchUpper, ' ')) "/>
RETRUN FALSE
<xsl:value-of select="contains("AAAAAA",concat($searchUpper, ' ')) "/>
RETRUN FALSE
<xsl:value-of select="contains(ps:uppercase(umbraco.library:StripHtml(string(.))),"A") "/>
RETRUN TRUE
Suspected to be encoded
How to solve the?
Check out this issue, but did not solve the searchfields
<xsl:value-of select="contains(ps:uppercase(umbraco.library:StripHtml(string(.))),concat($searchUpper, ' ')) "/>
RETRUN FALSE
<xsl:value-of select="contains(ps:uppercase(umbraco.library:StripHtml(string(.))),$searchUpper) "/>
RETRUN TRUE
<xsl:value-of select="ps:UrlEncode(ps:escapeSearchTerms(string(umbraco.library:RequestQueryString('search'))))" />
public string UrlEncode(string str)
{
try
{
return System.Web.HttpUtility.UrlDecode(str); //ERROR umbraco should be how to write?
}
catch (Exception ex)
{
return null;
}
}
Hi,ysee
I have the same question : Chinese characters are garbled.
if you have resolved this issue,please tell to me.
Thanks,
Erick
SORRY!
The work of busy these days!
Ok,lin04com
is working on a reply...