Title Back Colour Keyoti Title Line Title Curve
Blue Box Top

submit to different page - SearchUnit - Forum

Welcome Guest Search | Active Topics | Log In | Register

2 Pages <12
Options
RCDAwebmaster
#21 Posted : Tuesday, April 28, 2015 7:06:13 PM
Rank: Advanced Member

Groups: Registered

Joined: 3/31/2015
Posts: 38
I'm not sure what is going on here.

I used the developer window to examine the contents of the search results window.

The <div class="sew_resultitem"> has CSS in it to set the display to none. I tried removing it and got:

${title}
${Summary}

${KeywordHitMap}
${Location}
${Content}

It's as if the code on the page isn't being converted to useful output. Maybe there is a script error.
RCDAwebmaster
#22 Posted : Tuesday, April 28, 2015 7:27:42 PM
Rank: Advanced Member

Groups: Registered

Joined: 3/31/2015
Posts: 38
Another question:

When I develop the search page in visual studio and ran it, I get 55 results for "papal blessing".

I then moved code to the local machine's site 127.0.0.1 under the a search directory which is directly off the root. I now get 0 results for "papal blessing". I do get results for papal and blessing as single word searches.

When I moved the code to the search directory, I had to copy the directories Keyoti_SearchEngine_Web_Common & KeyotiSearchAdministration to the root of my site and put the Keyoti_Search_Index directory inside Keyoti_SearchEngine_Web_Common in order to get the search running. I still needed Keyoti_SearchEngine_Web_Common under the search directory as well. I wish I could have kept all the directories under the search folder.

Anyways, I thought there might be a problem with the index so I indexed www.rcda.org. After waiting 4 hours, the results did not change. I get zero results using 127.0.0.1. I can still see the 55 results when I run the project from within in Visual studio using localhost:52600. I tried searching the index in the Index Management tool and got 25 results.

Any idea?
RCDAwebmaster
#23 Posted : Tuesday, April 28, 2015 7:37:21 PM
Rank: Advanced Member

Groups: Registered

Joined: 3/31/2015
Posts: 38
The ASPX page:

Code:

<%@ Page Language="vb" AutoEventWireup="false" CodeBehind="search_results.aspx.vb" Inherits="Search.search_results" %>

<!DOCTYPE html>

<html xmlns="http://www.w3.org/1999/xhtml">
<head id="Head1" runat="server">
    <title>Roman Catholic Diocese of Albany: Search</title>
    <script type="text/javascript" src="/search.js"></script>
    <link href="/rcda.css" rel="stylesheet" type="text/css" />
   <script   src="Keyoti_SearchEngine_Web_Common/SearchUnit.js"></script>
<link   href="Keyoti_SearchEngine_Web_Common/SearchUnit.css"   rel="stylesheet"   />

<style>

    


    body,html{
  height:100%;
}

</style>
<style>
    .ac_input
    {
        background-color:#DCD2C2;
        color:#D46060;
        width:96px;
    }
.box1 {
        position: relative;
        margin: 0px 0 0px 0px;
        padding: 0px 0; width: 1000px;
        height: 145px;
        background-image: url('/images/Site header without font.jpg');
        background-repeat: no-repeat;
        }


#box-link {
        position: absolute;
        top: 30px;
        left: 20px;
        width: 92px;
        height: 102px;
        background-color: transparent;
        border: 0px solid yellow; }


</style>
<script type="JavaScript" src="/toolbar_swap.js"></script>
<script type="JavaScript" src="/photos_small.js"></script>
   
   
    <script>
        function openResult(url) {
            var newWinDocs = [".doc", ".pdf", ".doc", ".docx"];//please add the rest
            var found = false;
            for (var i = 0; i < newWinDocs.length; i++) {
                if (url.indexOf(newWinDocs[i]) > -1) {
                    found = true;
                }


            }
            if (found)
                window.open(url, 'newWin');
            else
                window.location.href = url;
        }


        function stopRKey(evt) {
            //alert('key press');
            var evt = (evt) ? evt : ((event) ? event : null);
            var node = (evt.target) ? evt.target : ((evt.srcElement) ? evt.srcElement : null);
            //alert(evt.keyCode);
            if ((evt.keyCode == 13) && (node.type == "text")) { return false; }
        }

        //document.onkeypress = stopRKey;
        function init()
        {
            t = setTimeout("init2()", 1000);
        }
        function init2() {
           var links = document.getElementById('sew_resultList').getElementsByTagName('a');
           var len = links.length;
            for (var i = 0; i < len; i++)
            {
               
                if (links[i].toString().indexOf(".pdf") > 0)
                {
                    links[i].target = "_blank";
                }

                if (links[i].toString().indexOf(".doc") > 0) {
                    links[i].target = "_blank";
                }

                if (links[i].toString().indexOf(".docx") > 0) {
                    links[i].target = "_blank";
                }

                if (links[i].toString().indexOf(".xls") > 0) {
                    links[i].target = "_blank";
                }

                if (links[i].toString().indexOf(".xlsx") > 0) {
                    links[i].target = "_blank";
                }

                if (links[i].toString().indexOf(".ppt") > 0) {
                    links[i].target = "_blank";
                }

                if (links[i].toString().indexOf(".pptx") > 0) {
                    links[i].target = "_blank";
                }

                if (links[i].toString().indexOf(".pps") > 0) {
                    links[i].target = "_blank";
                }

                if (links[i].toString().indexOf(".ppsx") > 0) {
                    links[i].target = "_blank";
                }
            }
            t = setTimeout("init2()", 2000)
           
        }

        function nextPage() {

        <%
        Dim pg As String
        Dim page As Integer
        Dim qry As String
        Dim loc As String
        pg = Request.QueryString("pageNumber")
        If pg = "" Then
            pg = "1"
        End If
        page = Int(pg)
        page = page + 1
        qry = Request.QueryString("query")
        loc = Request.QueryString("location")
        %>
            window.location = 'search_results.aspx?query=<%=qry%>&pageNumber=<%=page%>&location=<%=loc%>';
        }





        // JavaScript Document
        function check_search(inForm) {

            if (inForm.query.value == "" || inForm.query.value == "Search") {

                alert("You must provide a search term. Try again.");
                inForm.query.focus();
                return false;
            }
            else if (inForm.query.value.length < 2) {
                alert("Invalid Search term. Search term must be at least 2 characters long.");
                inForm.query.focus();
                return false;
            }
            window.location = 'search_results.aspx?query=' + inForm.query.value;
            return false;

        }

        function c(inForm) {
            if (inForm.query.value == "Search") {
                inForm.query.value = "";
            }
        }

        function c2(inForm) {
            if (inForm.query.value == "") {
                inForm.query.value = "Search";
            }
        }

        function animate() {
            s = setTimeout("animate2()", 5000);
        }

        function animate2() {
            var r1 = Math.floor(Math.random() * 5)
            var r2 = Math.floor(Math.random() * 8)
            var r3 = Math.floor(Math.random() * 5)
            var r4 = Math.floor(Math.random() * 5)
            var r5 = Math.floor(Math.random() * 5)
            //alert(randomnumber);
            randomnumber1 = "0" + (r1 + 1);
            randomnumber2 = r2 + 6;
            if (randomnumber2 < 10) {
                randomnumber2 = "0" + randomnumber2;
            }
            randomnumber3 = r3 + 14;
            randomnumber4 = r4 + 19;
            randomnumber5 = r5 + 24;



            document.pic1.src = "/photos-small2/" + randomnumber1 + ".jpg";
            document.pic2.src = "/photos-small2/" + randomnumber2 + ".jpg";
            document.pic3.src = "/photos-small2/" + randomnumber3 + ".jpg";
            document.pic4.src = "/photos-small2/" + randomnumber4 + ".jpg";
            document.pic5.src = "/photos-small2/" + randomnumber5 + ".jpg";

            t = setTimeout("animate2()", 5000);


        }


</script>

<script>
     function MM_swapImgRestore() { //v3.0
         var i, x, a = document.MM_sr; for (i = 0; a && i < a.length && (x = a[i]) && x.oSrc; i++) x.src = x.oSrc;
     }
     function MM_preloadImages() { //v3.0
         var d = document; if (d.images) {
             if (!d.MM_p) d.MM_p = new Array();
             var i, j = d.MM_p.length, a = MM_preloadImages.arguments; for (i = 0; i < a.length; i++)
                 if (a[i].indexOf("#") != 0) { d.MM_p[j] = new Image; d.MM_p[j++].src = a[i]; }
         }
     }

     function MM_findObj(n, d) { //v4.01
         var p, i, x; if (!d) d = document; if ((p = n.indexOf("?")) > 0 && parent.frames.length) {
             d = parent.frames[n.substring(p + 1)].document; n = n.substring(0, p);
         }
         if (!(x = d[n]) && d.all) x = d.all[n]; for (i = 0; !x && i < d.forms.length; i++) x = d.forms[i][n];
         for (i = 0; !x && d.layers && i < d.layers.length; i++) x = MM_findObj(n, d.layers[i].document);
         if (!x && d.getElementById) x = d.getElementById(n); return x;
     }

     function MM_swapImage() { //v3.0
         var i, j = 0, x, a = MM_swapImage.arguments; document.MM_sr = new Array; for (i = 0; i < (a.length - 2) ; i += 3)
             if ((x = MM_findObj(a[i])) != null) { document.MM_sr[j++] = x; if (!x.oSrc) x.oSrc = x.src; x.src = a[i + 2]; }
     }
</script>


</head>

<body style="margin:0px, 0px, 0px, 0px; margin-top:0px; margin-bottom:0px;" onload="animate();">
    <script type='text/javascript'>

        var ebRand = Math.random() + '';
        ebRand = ebRand * 1000000;
        //<![CDATA[
        document.write('<scr' + 'ipt src="HTTP://bs.serving-sys.com/BurstingPipe/ActivityServer.bs?cn=as&amp;ActivityID=168898&amp;rnd=' + ebRand + '"></scr' + 'ipt>');
        //]]>
</script>
<noscript>
<img width="1" height="1" style="border:0; display:none;" src="HTTP://bs.serving-sys.com/BurstingPipe/ActivityServer.bs?cn=as&amp;ActivityID=168898&amp;ns=1" alt=""/>
</noscript>
   
   
     
       









        <div style="text-align:center">
<table style="width:1000px; height:100%; margin-left:auto; margin-right:auto; padding: 0px; border-collapse:collapse; border-spacing: 0;" border="0" cellpadding="0" align="center" cellspacing="0">
  <tr>
    <td style="height:142px; vertical-align:top; background-image:url('/images/Site%20header%20without%20font.jpg'); " colspan="2" ><div class="box1"><table style="width:1000px" border="0" cellspacing="0" cellpadding="0">
      <tr>
        <td width="119" height="44" style="width:117px;">&nbsp;</td>
        <td  valign="bottom" style="width:600px;">&nbsp;</td>
        <td width="200" rowspan="3" style="width:78px; vertical-align:bottom" ><table style="height:47px; margin-right:20px; " cellpadding="0" cellspacing="0" border="0" >
        <tr>
            <td colspan=5 style="height:45px; vertical-align:top;">
              <span class="arial10pt">Diocesan Portal: <br>
                <a href="https://portal.rcda.org" target="_blank" >Log in Now </a></span></td>
        </tr>
<tr>
    <td colspan=5 style="vertical-align:bottom;">
     <form method="get" action="search_results.aspx" name="srch" onsubmit="return check_search(this.form)">
       
    <table cellspacing="0"><tr><td><input name="query" type="text" id="query" size="10" value="Search" style="background-color:#DCD2C2; color:#D46060;" onfocus="c(this.form)" onblur="c2(this.form)"/></td><td style="vertical-align:middle;"><input type="image" src="/images/search_button.png" border="0" name="button"   onclick="return check_search(this.form)" style="height:21px;"></td></tr></table>
     </form>       
                       
</td>
</tr>

  <tr>
    <td width="40" style="width:30px; height:30px; vertical-align:bottom;"><a href="/Social Networking_facebook.html" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('Image2','','../Social Media/Images/facebook_ro.png',1)"><img src="/Social Media/Images/facebook.png" name="Image2" width="36" height="44" id="Image" border="0"></a></td>
    <td width="5" style="width:4px; vertical-align:bottom;">&nbsp;</td>
    <td width="40" style="width:36px; height:30px; vertical-align:bottom;"><a href="/Social Networking_twitter.html" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('Image22','','../Social Media/Images/twitter_ro.png',1)"><img src="/Social Media/Images/twitter.png" alt="Facebook" width="36" height="43" id="Image22" border="0"></a></td>
   
   
    <td width="5" style="width:4px; vertical-align:bottom;">&nbsp;</td>
    <td width="43" style="width:36px; height:30px; vertical-align:bottom;"><a href="/Social Networking_youtube.html"  onMouseOver="MM_swapImage('Image20','','../Social Media/Images/youTube_ro.png',1)" onMouseOut="MM_swapImgRestore()"><img src="/Social Media/Images/youTube.png" alt="You Tube" name="Image20" width="36" height="43" id="Image20" border="0"></a><br></td>
  </tr>
<tr>
<td style="height:4px;" colspan="5"></td>

</table></td>
      </tr>
      <tr>
        <td height="83"><a id="box-link" href="/"></a></td>
        <td class="title" style="vertical-align:bottom; height:85px; width:681px;"><span class="top_title"> Roman Catholic Diocese of Albany</span></td>
      </tr>
      <tr>
        <td height="15">&nbsp;</td>
        <td class="title" style="vertical-align:bottom; height:15px; width:681px;">&nbsp;</td>
      </tr>
    </table></div></td>
  </tr>
  <tr style="line-height:0px;">
    <td style="height:10px; vertical-align:top" colspan="2" ><a href="/index.html" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage('Home','','/images/b-home-on.jpg',1)"><img src="/images/b-home-off.jpg" alt="Home" name="Home" width="87" height="38" border="0" id="Home" /></a><a href="/our_bishop.html" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage('Our_Bishop','','/images/b-our_bishop-on.jpg',0)"><img src="/images/b-our_bishop-off.jpg" alt="Our Bishop" name="Our_Bishop" width="97" height="38" border="0" id="Our_Bishop" /></a><a href="/history.html" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage('History_And_Statistics','','/images/b-history_statistics-on.jpg',1)"><img src="/images/b-history_statistics-off.jpg" alt="History And Statistics" name="History_And_Statistics" width="154" height="38" border="0" id="History_And_Statistics" /></a><a href="/offices.html" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage('Offices','','/images/b-offices-on.jpg',1)"><img src="/images/b-offices-off.jpg" alt="Offices" name="Offices" width="69" height="38" border="0" id="Offices" /></a><a href="/parishes.asp" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage('Parishes_and_Apostolates','','/images/b-parishes_apostolates-on.jpg',1)"><img src="/images/b-parishes_apostolates-off.jpg" alt="Parishes and Apostolates" name="Parishes_and_Apostolates" width="181" height="38" border="0" id="Parishes_and_Apostolates" /></a><a href="/resources.html" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage('Resources','','/images/b-resources-on.jpg',1)"><img src="/images/b-resources-off.jpg" alt="Resources" name="Resources" width="91" height="38" border="0" id="Resources" /></a><a href="/events.html" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage('Events','','/images/b-events-on.jpg',1)"><img src="/images/b-events-off.jpg" alt="Events" name="Events" width="68" height="38" border="0" id="Events" /></a><a href="/links.html" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage('Links','','/images/b-links-on.jpg',1)"><img src="/images/b-links-off.jpg" alt="Links" name="Links" width="56" height="38" border="0" id="Links" /></a><a href="/site_map.html" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage('Site_Map','','/images/b-site_map-on.jpg',1)"><img src="/images/b-site_map-off.jpg" alt="Site Map" name="Site_Map" width="79" height="38" border="0" id="Site_Map" /></a><a href="/contact_us.html" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage('Contact_Us','','/images/b-contact_us-on.jpg',1)"><img src="/images/b-contact_us-off.jpg" alt="Contact Us" name="Contact_Us" width="118" height="38" border="0" id="Contact_Us" /></a></td>
  </tr>
  <tr style="line-height:120px; background:antiquewhite;">
    <td  colspan="2" style="height:120px; vertical-align:top;"><table style="width:1000px; height:120px; padding: 0px; border-collapse:collapse; border-spacing: 0; line-height:0px; margin-top:0px; margin-bottom:0px;" border="0" cellpadding="0" cellspacing="0" >
  <tr>
    <td height="120px" style="width:150px; vertical-align:top; height:120px; line-height:0px;"><img src="/photos-small2/01.jpg" name="pic1" height="120" width="150" alt=""/></td>
    <td style="width:250px; vertical-align:top; height:120px"><img src="/photos-small2/06.jpg" name="pic2" height="120" width="250" alt=""/></td>
    <td style="width:160px; vertical-align:top; height:120px"><img src="/photos-small2/14.jpg" name="pic3" height="120" width="160" alt=""/></td>
    <td style="width:230px; vertical-align:top; height:120px"><img src="/photos-small2/19.jpg" name="pic4" height="120" width="230" alt=""/></td>
    <td style="width:210px; vertical-align:top; height:120px"><img src="/photos-small2/24.jpg" name="pic5" height="120" width="210" alt=""/></td>
  </tr>
</table></td>
  </tr>
  <tr>
    <td style="height:10px; line-height:11px; vertical-align:top;" colspan="2"><img src="/images/stripe.jpg" width="1000" height="11" alt=""/></td>
  </tr>
  <tr style="vertical-align:top">
    <td style="width:1000px; vertical-align:top; "   class="office_pagecontents_BG"><div style="text-align:center">
      <table  border="0" cellpadding="0" cellspacing="0" class="arial10pt" style="width:90%; margin-left:auto; margin-right:auto; margin-top:20px; margin-bottom:20px;">
        <tr>
        <td ><div style="text-align:left"><!-- TemplateBeginEditable name="Page Contents" -->       <br />
             
<div id="sew_searchResultControl">
        <div class="sew_ajax_loader_backer"><div class="sew_ajax_loader"></div></div>
        <div class="sew_ajax_error">
            <span class='sew_errorTitle'>Error</span>
            <p class='sew_errorBody'></p>
            <div class="sew_ajax_error_footer">
                <input type="button" value="OK" id="sew_errorOKButton" />
            </div>
        </div>
        <div id="sew_resultView">
            <div id="sew_resultHeader">
            </div>
<div id="sew_resultItemTEMPLATE" class="sew_resultItem">
        <span class="sew_resultItemLink"><a href="javascript: openResult('${UriStringWithKeywords}')">${Title}</a></span>
                <span class="sew_resultItemSummary">${Summary}</span>
                <span class="sew_previewResultWrapper"><img alt="Click to preview the document text" src="/Keyoti_SearchEngine_Web_Common/ResultPreview_Expander_Closed.png"
                    onclick="keyotiSearchResultPreviewer.toggleResultPreview(this,
                    '${UriStringAsStored}',
                    '/Keyoti_SearchEngine_Web_Common/ResultPreview_Expander_Closed.png',
                    '/Keyoti_SearchEngine_Web_Common/ResultPreview_Expander_Opened.png')"/>
                <span class="sew_previewResultContent">Loading document...</span></span>
                <div style="clear:both; height:1px;"></div>
                <span class="sew_resultItemURL">${UriString}</span>
                <span class="sew_keywordHitMap">${KeywordHitMap}</span>
                <span class="sew_location">${Location}</span>
                <span class="sew_location">${Content}</span>
                       
            </div>     
            <div id="sew_resultFooter"></div>
        </div>
    </div>
        <!-- TemplateEndEditable --></div></td>
      </tr>
  </table></div></td>
   
  </tr>
<tr>
        <td colspan="2"  class="footer"   style="text-decoration:none; vertical-align:middle; height:50px;"><div align="center"  style="text-decoration:none"><p>         
          <a href="../index.html"  style="text-decoration:none" class="menubar_address_white"><span style="color:white">Home</span></a> |
          <a href="../our_bishop.html"  style="text-decoration:none" class="menubar_address_white"><span style="color:white">Our Bishop</span></a> |
          <a href="../history.html"  style="text-decoration:none" class="menubar_address_white"><span style="color:white">History &amp; Statistics</span></a> |
          <a href="../offices.html"  style="text-decoration:none" class="menubar_address_white"><span style="color:white">Offices</span></a> |
          <a href="../parishes.asp"  style="text-decoration:none" class="menubar_address_white"><span style="color:white">Parishes &amp; Apostolates</span></a> |
          <a href="../resources.html"  style="text-decoration:none" class="menubar_address_white"><span style="color:white">Resources</span></a> |
          <a href="../events.html"  style="text-decoration:none" class="menubar_address_white"><span style="color:white">Events</span></a> |
          <a href="../links.html"  style="text-decoration:none" class="menubar_address_white"><span style="color:white">Links</span></a> |
          <a href="../site_map.html"  style="text-decoration:none" class="menubar_address_white"><span style="color:white">Site Map</span></a> |
          <a href="../contact_us.html"  style="text-decoration:none" class="menubar_address_white"><span style="color:white">Contact Us</span></a><br />
<span class="menubar_address_white" style="color:white; ">© 2011</span> <a href="/index.html"  style="text-decoration:none"><span class="menubar_address_white" style="color:white">Roman Catholic Diocese of Albany</span></a><span class="menubar_address_white"> |
<span style="color:white">40 North Main Avenue, Albany, NY 12203</span></span></p></div></td>
  </tr>
 
</table>



       

    </div>

</body>

</html>



Let me know if you need any of the supporting files... CSS, Images...
Jim
#24 Posted : Wednesday, April 29, 2015 5:26:51 AM
Rank: Advanced Member

Groups: Administrators, Registered

Joined: 8/13/2004
Posts: 2,667
Location: Canada
Argh! I'm so sorry I made a mistake when I gave you the code before, there should have been a wrapping

Code:

<div id="sew_resultList">
...
</div>


around <div id="sew_resultItemTEMPLATE"

eg.

[code]
<div id="sew_searchResultControl">
<div class="sew_ajax_loader_backer"><div class="sew_ajax_loader"></div></div>
<div class="sew_ajax_error">
<span class='sew_errorTitle'>Error</span>
<p class='sew_errorBody'></p>
<div class="sew_ajax_error_footer">
<input type="button" value="OK" id="sew_errorOKButton" />
</div>
</div>
<div id="sew_resultView">
<div id="sew_resultHeader">
</div>
<div id="sew_resultList">


<div id="sew_resultItemTEMPLATE" class="sew_resultItem">
<span class="sew_resultItemLink"><a href="javascript: openResult('${UriStringWithKeywords}')">${Title}</a></span>
<span class="sew_resultItemSummary">${Summary}</span>
<span class="sew_previewResultWrapper"><img alt="Click to preview the document text" src="/Keyoti_SearchEngine_Web_Common/ResultPreview_Expander_Closed.png"
onclick="keyotiSearchResultPreviewer.toggleResultPreview(this,
'${UriStringAsStored}',
'/Keyoti_SearchEngine_Web_Common/ResultPreview_Expander_Closed.png',
'/Keyoti_SearchEngine_Web_Common/ResultPreview_Expander_Opened.png')"/>
<span class="sew_previewResultContent">Loading document...</span></span>
<div style="clear:both; height:1px;"></div>
<span class="sew_resultItemURL">${UriString}</span>
<span class="sew_keywordHitMap">${KeywordHitMap}</span>
<span class="sew_location">${Location}</span>
<span class="sew_location">${Content}</span>

</div>

</div>
<div id="sew_resultFooter"></div>
</div>
</div>


For me it now works.
-your feedback is helpful to other users, thank you!


Jim
#25 Posted : Wednesday, April 29, 2015 5:36:46 AM
Rank: Advanced Member

Groups: Administrators, Registered

Joined: 8/13/2004
Posts: 2,667
Location: Canada
Regarding your other question, I am really shooting from the hip here as I was hoping to test it using my IIS, but IIS seems to be not playing ball right now, so....

The thing about your code is you are doing this

window.location = 'search_results.aspx?query=' + inForm.query.value;

Couple of things not exactly right, firstly I believe it should be window.location.href =, whether there is any difference or any browser where it wouldn't work, I don't know.

Secondly, and this might have cause what you're seeing, since it's down to how the server handles the request, you really need to encode the inForm.query.value, eg.

window.location.href = 'search_results.aspx?query=' + encodeURIComponent(inForm.query.value);


otherwise your " and spaces are not going to be encoded at all and could be mishandled server side.

Jim
-your feedback is helpful to other users, thank you!


RCDAwebmaster
#26 Posted : Thursday, April 30, 2015 2:46:26 PM
Rank: Advanced Member

Groups: Registered

Joined: 3/31/2015
Posts: 38
Thanks for helping me get the template working. I now get results to show and documents like pdf, word & excel to open in a new window.

I will open a new thread for the indexer.
2 Pages <12
Forum Jump  
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.




About | Contact | Site Map | Privacy Policy

Copyright © 2002- Keyoti Inc.