Announcement

Collapse
No announcement yet.

Search results with product image

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

    Search results with product image

    Hi,

    I have the search facility on my site... The problem is when it shows the result it cant find the graphic. e.g the image properties say its looking in the wrong dir hence why it cant find the graphic associated with that product.

    Do you know where this is defined?

    Darren
    www.4-motorcycles.co.uk

    #2
    Hi Darren

    It looks like, that the basehref is set incorrectly.

    Please go to "Advance | Template Manager" Click on the main tab, then click on "Primary" button

    Make sure in the Act_Primary.html, underneath title it says

    <Actinic:BASEHREF VALUE="NETQUOTEVAR:BASEHREF"/>
    Please check this

    Kind Regards
    Nadeem Rasool
    SellerDeck Development

    Comment


      #3
      Hi

      Yep got that in the Act_Primary.html

      Here is the file

      <!-- Primary HTML begin -->
      <html>
      <head>
      <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
      <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
      <title>NETQUOTEVAR:PAGETITLE NETQUOTEVAR:PAGEHEADER</title>
      <Actinic:BASEHREF VALUE="NETQUOTEVAR:BASEHREF"/>
      <meta name="ACTINICTITLE" content="NETQUOTEVAR:PAGEHEADER">
      <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
      <!--@act NETQUOTEVAR:HEADERMETA -->
      <!--@act NETQUOTEVAR:LOADFUNCTION -->
      <!--@act NETQUOTEVAR:SUBMITFUNCTION -->
      <!--@act NETQUOTEVAR:P3PFULLPOLICYLINK -->
      <link rel="stylesheet" href="actinic.css" type="text/css">
      <script language="JavaScript" src="actiniccore.js" type="text/javascript"></script>
      <SCRIPT LANGUAGE="JavaScript" SRC="actinicextras.js" TYPE="text/javascript"></SCRIPT>
      <!-- Placeholder of cookie checking javascript code. Do not remove it! -->
      <Actinic:COOKIECHECK/>
      <SCRIPT LANGUAGE="JavaScript" TYPE="text/javascript">
      <!--
      /***********************************************************************
      *
      * ACT_DropListBox - returns a string containing the HTML for the SELECT listbox
      *
      ************************************************************************/

      function ACT_DropListBox(ar)
      {
      var strIDs = '<SELECT SIZE="1" NAME="ACT_droplstbox" onChange="if(options[selectedIndex].value) window.location.href=(options[selectedIndex].value)">'
      var sel = " SELECTED"
      strIDs += '<OPTION ' + sel + ' VALUE="">Select a Section</OPTION>'
      for (var i=1;i<=ar.length;i++)
      {
      if (ar[i].sURL !=null)
      {
      strIDs += '<OPTION VALUE="' + ar[i].sURL + '&ACTINIC_REFERRER=' + escape(location.href) + '">' + ar[i].sName + '</OPTION>'
      }
      }
      strIDs+='</SELECT>'
      return strIDs
      }
      //-->
      </SCRIPT>
      <!--@act NETQUOTEVAR:TOPLEVELSECTIONS_RAW -->
      <!--
      The NETQUOTEVARs below can be uncommented for getting raw section lists:
      1. Top level section list
      2. Section list from current level and all children
      3. The whole section tree
      The rest covers the standalone structure members for each array - e.g. if
      you only need sName or sURL from an array.
      See the documentation for details.

      NETQUOTEVAR:TOPLEVELSECTIONS_RAW
      NETQUOTEVAR:CHILDSECTIONS_RAW
      NETQUOTEVAR:SECTIONTREE_RAW

      NETQUOTEVAR:SECTIONTREE_NAMES
      NETQUOTEVAR:SECTIONTREE_URLS
      NETQUOTEVAR:SECTIONTREE_IMAGES
      NETQUOTEVAR:SECTIONTREE_IMAGEWIDTHS
      NETQUOTEVAR:SECTIONTREE_IMAGEHEIGHTS
      NETQUOTEVAR:SECTIONTREE_SECTIONIDS

      NETQUOTEVAR:TOPLEVELSECTIONS_NAMES
      NETQUOTEVAR:TOPLEVELSECTIONS_URLS
      NETQUOTEVAR:TOPLEVELSECTIONS_IMAGES
      NETQUOTEVAR:TOPLEVELSECTIONS_IMAGEWIDTHS
      NETQUOTEVAR:TOPLEVELSECTIONS_IMAGEHEIGHTS
      NETQUOTEVAR:TOPLEVELSECTIONS_SECTIONIDS

      NETQUOTEVAR:CHILDSECTIONS_NAMES
      NETQUOTEVAR:CHILDSECTIONS_URLS
      NETQUOTEVAR:CHILDSECTIONS_IMAGES
      NETQUOTEVAR:CHILDSECTIONS_IMAGEWIDTHS
      NETQUOTEVAR:CHILDSECTIONS_IMAGEHEIGHTS
      NETQUOTEVAR:CHILDSECTIONS_SECTIONIDS

      The section level can be accessed through:
      NETQUOTEVAR:SECTIONLEVEL
      -->
      <!-- Not used
      NETQUOTEVAR:HEADER
      -->
      <!--
      The NETQUOTEVARs below can be uncommented and moved to the appropriate

      location
      to save and load shopping lists
      <A HREF="NETQUOTEVAR:SAVECARTURL"><FONT FACE=TAHOMA SIZE=2><I><B>Save

      Shopping List</B></I></FONT></A>
      <A HREF="NETQUOTEVAR:RESTORECARTURL"><FONT FACE=TAHOMA SIZE=2><I><B>Load

      Shopping List</B></I></FONT></A>
      --->
      </head>
      <body NETQUOTEVAR:BGIMAGE onLoad="NETQUOTEVAR:ONLOAD" NETQUOTEVAR:BGCOLOR text="NETQUOTEVAR:FGCOLOR" NETQUOTEVAR:LINKCOLOR NETQUOTEVAR:VLINKCOLOR NETQUOTEVAR:ALINKCOLOR leftmargin="5" topmargin="20" marginwidth="5" marginheight="20">
      <p>&nbsp;</p><table cellspacing=0 cellpadding=0 width=760 align=center border=0>
      <tr>
      <td background="g.gif">
      <table cellspacing=2 cellpadding=0 width="100%" border=0>
      <tr>
      <td valign=top>
      <table cellspacing=0 cellpadding=10 width="100%" border=0 height="400">
      <tr>
      <td background="bk.gif" valign="top">
      <!-- NETQUOTEVAR:LOGINLINK -->
      <Actinic:NOWSERVING/><Actinic:CURRACCOUNT/><Actinic:LOGOUT_SIMPLE/>
      NETQUOTEVAR:FORMBEGIN <a name="top">
      <input type=HIDDEN name=RANDOM value="NETQUOTEVAR:RANDOM">
      </a> NETQUOTEVAR:HIDDENFIELDS NETQUOTEVAR:BULK NETQUOTEVAR:FORMEND
      </td>
      </tr>
      </table>
      </td>
      </tr>
      </table>
      </td>
      </tr>
      </table>
      </body>
      </html>

      Comment


        #4
        Hi Darren

        Okay, where is this happening? What site, if its the 4-motorcycle then i cannot reproduce it.

        I went onto http://www.4-motorcycles.co.uk/, click on search along the top, type in test, and the results bring up Optimate 3 Battery Charger. When i click on this, the product appears with the image

        If this is not happening on yours, then it possible that a session file is corrupted, my advise would be to go to "Help | Troubleshooting" in Actinic, then click on purge session file. Once you done this, please check the site again

        Kind Regards
        Nadeem Rasool
        SellerDeck Development

        Comment


          #5
          Hi nadeem

          I done as you suggested. it worked on test which i couldnt see but when I searched on gloves it didnt. but the url was correct of the image file

          http://www.4-motorcycles.co.uk/acatalog/gloves1.jpg

          ????

          What is happening? what does the purge session files do?

          Should I copy accross any files from actinic to the site?

          Comment


            #6
            I just searched for gloves and it worked perfectly.

            Purging the session files will end all current shopping sessions on the site. That way, when you go onto the site again, Actinic will treat you like a brand new customer.

            The session file stores the URL of your acatalog folder within it. If this is wrong , then sometimes images will not be found on pages generated by Perl files. Purging session files will reset this.

            Comment

            Working...
            X