Announcement

Collapse
No announcement yet.

search acatalog from outside acatalog

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    search acatalog from outside acatalog

    Hi All,

    I'm having problems getting the search feature in version 5 working from external pages.

    The site in question is http://www.justmackintosh.com , the index page is 'outside' of actinic. when doing a search from the index page, eg 'mugs', click on the first item in the search results, and then click in the image and one gets 'page cannot be displayed' (whereas doing the same within the acatalog works fine).

    the difference between the two image paths is:

    from index......
    http://www.justmackintosh.com/JM100-20big.jpg

    in acatalog....
    http://www.justmackintosh.co.uk/acat...M100-20big.jpg

    So, the search result from index is missing the '/acatalog' bit (hence the image not showing)

    I've been here, there and everywhere trying to fix it, but to no avail, I'm sure it's something simple (isn't it always?).

    Thanks in advance.

    Dave

    #2
    Hi Dave

    Have you changed your site, as i cannot recreate this issue. Please advise

    Kind Regards
    Nadeem Rasool
    SellerDeck Development

    Comment


      #3
      Hi Nadeem,

      no, the problem is still there, but it only arises when trying to search for products from outside the acatalog (on the index.html for example).

      Hope i can get to the bottom of it as I'd rather not simply remove the search from the pages which aren't in acatalog.

      Thanks, Dave

      Comment


        #4
        Hi Dave,

        Please could you provide me with a working example. I have been on your site, and tried to use Mugs, but loads of results. Is there a specific product on the home page i can use?

        Kind Regards
        Nadeem Rasool
        SellerDeck Development

        Comment


          #5
          Hi Nadeem,

          Thank you for your time taken looking into this, I'll try to explain the problem in more detail (forgive me if i go on a bit).

          1, From any page outside actinic ( eg. http://www.justmackintosh.com/index.html ) using the search box to search for any product (mugs, towels, keyrings, pens, etc...)

          2, you'll then be taken to the search results page (this displays fine), now click on any product from the results.

          3, You'll then be taken to the product you just clicked on (this also displayes fine)

          4, now click on the product image (to see a larger view) and you'll get 'this page cannot be displayed' (this is the problem).

          Also, (from step 3, viewing the product) click on the 'add to cart' button, and you'll be taken to the cart page (this displays fine), then click 'confirm', and your taken to a page which says 'please wait for the browser to forward you to the next page' (this is also fine), but you're then forwarded to 'this page cannot be displayed', rather than back to the product page.

          I've compared the URL's from the searches from outside acatalog (which don't fully work) with the searches from inside the acatalog (which do work) and the difference is the '/acatalog/' (shown as '/aca....' in the example below) part is missing from the URL that don't work

          eg:
          from index...... (not working)
          http://www.justmackintosh.com/JM100-20big.jpg

          in acatalog.... (working)
          http://www.justmackintosh.co.uk/acat...M100-20big.jpg

          hope this helps, and thankyou again.

          dave

          Comment


            #6
            Hi There,

            I can see the problem you are facing. Can you tell me if you have made changes to the search script or to the Search results template at any point of time? When you search for a product on the home page and then add to cart and click on confirm, if you hover the cursor on the 'here' link you will see in the bottom left had corner of the browser window that the path displayed is wrong, does not have the /acatalog/... in the path. The same link for a product ordered from within the catalog shows the correct path. Same for the extended info window.

            Do let me know.

            Kind regards,
            Bruce King
            SellerDeck

            Comment


              #7
              Hi Bruce,

              to my knowledge, the search scripts haven't been changed, but I'll copy then in any how.

              Act_SimpleSearch:

              Code:
              <!-- SIMPLESEARCH HTML BEGIN -->
              <div align="right">
              <table cellspacing=0 cellpadding=5 border=0 height="30">
               	<tr>
              		<form name=simplesearch action="NETQUOTEVAR:SEARCHCGIURL" METHOD="NETQUOTEVAR:CGIMETHOD">
              	      <td valign="MIDDLE"><font face="ARIAL" size="2"><b>NETQUOTEVAR:QUICKSEARCHLABEL</b></font></td>
              			<td valign=middle noWrap align=right>
              				<input type="TEXT" name="SS" size="15" maxsize="125" value="">&nbsp;
              			</td>
              			<td valign=center noWrap align=left>
              				<input type=SUBMIT name=ACTION value="NETQUOTEVAR:QUICKSEARCHBUTTONTEXT">
              				<input TYPE=HIDDEN NAME="PR" VALUE="-1">
              				<input TYPE=HIDDEN NAME="TB" VALUE="A">
              				<input TYPE=HIDDEN NAME="SHOP" VALUE="NETQUOTEVAR:SHOPID">
              			</td>
              		</form>
              	</tr>
              </table>
              </div>
              <!-- SIMPLESEARCH HTML END -->
              Act_SearchTemplate:

              Code:
              <!-- SearchTemplate HTML begin -->
              <!-- Add Search Page header HTML here -->
              
              <input type=HIDDEN name="PAGE" value="SEARCH">
              <table border=0 cellspacing=0 cellpadding=0 width="100%" align="CENTER">
                <tr> 
                  <td colspan=2 valign=TOP align=LEFT><p>&nbsp;</p> 
                    <p class="actsmall">NETQUOTEVAR:SEARCHPROMPT NETQUOTEVAR:RETAILONLYWARNING</p>
                    <p>&nbsp;</p> 
                    </td>
                </tr>
                <tr>
                  <td valign="TOP" align="center">
              <table border=0 cellspacing=0 cellpadding=3 width="100%">
                      <tr> 
                        <td valign="TOP"> <b><span class="actsmall">NETQUOTEVAR:SEARCHSTRING</span></b><br>
                          <input type=TEXT name="SS" size=40 maxsize=255>
                          <br>
                          <span class="actsmall">NETQUOTEVAR:SEARCHCOMBINE </span> 
                          <input type=RADIO name="TB" CHECKED value="A">
                          <span class="actsmall">NETQUOTEVAR:SEARCHANDSTRING</span> 
                          <input type=RADIO name="TB" value="O">
                          <span class="actsmall">NETQUOTEVAR:SEARCHORSTRING&nbsp;NETQUOTEVAR:SEARCHCOMBINEINFO</span> 
                          <script language="JavaScript">
              				<!--
              				for (nIndex = 0; nIndex < document.forms.length; nIndex++)
              			 	  {
              			 	  if (document.forms[nIndex] && document.forms[nIndex].SS)
              			 	     {
                          	   document.forms[nIndex].SS.focus();
              			      }
              			      }
              			   // -->
              			   </script>
                        </td>
                        <td valign="TOP"> <b><span class="actsmall">NETQUOTEVAR:PRICERANGELABEL</span></b><br>
                          NETQUOTEVAR:PRICERANGECONTROL </td>
                      </tr>
                      NETQUOTEVAR:SEARCHPROP 
                      <tr> 
                        <td colspan=2 valign="BOTTOM"> <b><span class="actsmall">NETQUOTEVAR:SECTIONCONTROLLABEL</span></b><br>
                          NETQUOTEVAR:SECTIONCONTROL </td>
                      </tr>
                      <tr> 
                        <td colspan=2 valign="BOTTOM"> 
                          <input type=SUBMIT name=ACTION value="NETQUOTEVAR:SEARCHLABEL">
                        </td>
                      </tr>
                    </table>
                  <p>&nbsp;</p></td>
                </tr>
                <tr> 
                  <td valign="TOP">NETQUOTEVAR:SPLASHTEXTBODY NETQUOTEVAR:INFOLINES </td>
                </tr>
              </table>
              
              
              <!-- Add Search Page footer HTML here -->
              <!-- SearchTemplate HTML end -->
              Act_ResultsTemplate:

              Code:
              <!-- Results HTML begin -->
              <!-- Add Results Page header HTML here -->
              
              
              NETQUOTEVAR:SEARCHBLOCK
              <HR SIZE="1" ALIGN="CENTER" WIDTH="100%">
              <TABLE BORDER=0 CELLSPACING=0 CELLPADDING=10 WIDTH="100%" ALIGN="CENTER">
              	<TR>
              		<TD ALIGN=LEFT>
              		  <B><Actinic:S_SUMMARY/></B><BR><Actinic:S_CONTINUE/>
              		</TD>
              	</TR>
              	<TR>
              		<TD ALIGN=LEFT>
              		  <Actinic:SEARCH_RESULTS>
              		  <Actinic:S_ITEM/>.
              		  <Actinic:S_LINK/><B><Actinic:S_PNAME/></B></A> <Actinic:S_SNAME/> <Actinic:S_PRICE/> <BR>
              		  <Actinic:S_DESCR/><BR>
              		  <Actinic:S_PROP/><P>
              		  </Actinic:SEARCH_RESULTS>
              		</TD>
              	</TR>
              	<TR>
              		<TD ALIGN=LEFT>
              		  <B><Actinic:S_SUMMARY/></B><BR><Actinic:S_CONTINUE/>
              		</TD>
              	</TR>
              </TABLE>
              
              <!-- Add Results Page footer HTML here -->
              <!-- Results HTML end -->
              Thanks

              Comment


                #8
                Hi there

                Hmmm i would suggest in registering a ticket on support, as someone would need to investigate this deeply for you. Please go to the following address: http://www.actinic.co.uk/support/register.htm

                Kind Regards
                Nadeem Rasool
                SellerDeck Development

                Comment


                  #9
                  search ouside of acatalog

                  Hi Nadeem,

                  I have only recently read the text between yourself and Dave.
                  I am Pat's husband (Pat runs Justmackintosh.com). I had to remove the search facility from the home / index page, because the problem was annoying customers! The search facility works fine within the catalog, so I will leave well alone for now, but thanks for your input with Dave.
                  I have another Actinic V5 problem, but I will post a new thread.

                  Thanks again.

                  Steve.

                  Comment

                  Working...
                  X