Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Where on earth is the "Your Search Results ..."


Guest

Recommended Posts

Posted

Been banging my head against this one ... on any search results page, the default header at the top of the main area is "Your search results ..." with a broken link to an image at the right. I've used Windows search to try to find what file contains this text (I want to change the text and remove the image entirely), but it says that the phrase "Your search results" does not exist ANYWHERE within the OSC directories. Can someone point me towards it, pretty please?

 

James

Posted

i think the file your looking for is catalog/advanced_search_result.php

 

look for this:

<!-- body_text //-->
   <td width="100%" valign="top"><table border="0" width="100%" cellspacing="0" cellpadding="0">
     <tr>
       <td><table border="0" width="100%" cellspacing="0" cellpadding="0">
         <tr>
           <td class="pageHeading"><?php echo HEADING_TITLE_2; ?></td>
           <td class="pageHeading" align="right"><?php echo tep_image(DIR_WS_IMAGES . 'table_background_browse.gif', HEADING_TITLE_2, HEADING_IMAGE_WIDTH, HEADING_IMAGE_HEIGHT); ?></td>
         </tr>
       </table></td>
     </tr>

and try deleting the entire thing. BEFORE YOU DO, copy everything AS IS into a text editor so that if it doesn't work you can just open it back up and paste in the entire thing! Let me know if it works

 

Patrick

Patrick Bailey

www.DisplayHaven.com

Posted

thanks for the help ... I'm wondering how difficult it would be to replace the "Your search results ..." with the name of the string that was searched (either the manufacturer name, if the customer used the drop-down list on the left, or the string that was typed in to the search box)? Might be more trouble than it's worth, but I dunno ...

Posted
i think the file your looking for is catalog/advanced_search_result.php

 

look for this:

<!-- body_text //-->
   <td width="100%" valign="top"><table border="0" width="100%" cellspacing="0" cellpadding="0">
     <tr>
       <td><table border="0" width="100%" cellspacing="0" cellpadding="0">
         <tr>
           <td class="pageHeading"><?php echo HEADING_TITLE_2; ?></td>
           <td class="pageHeading" align="right"><?php echo tep_image(DIR_WS_IMAGES . 'table_background_browse.gif', HEADING_TITLE_2, HEADING_IMAGE_WIDTH, HEADING_IMAGE_HEIGHT); ?></td>
         </tr>
       </table></td>
     </tr>

and try deleting the entire thing. BEFORE YOU DO, copy everything AS IS into a text editor so that if it doesn't work you can just open it back up and paste in the entire thing! Let me know if it works

 

Patrick

And one more thing ... where the heck is HEADING_TITLE_2 defined? I would think it would be in english.php, but I sure can't find it there ... or anywhere else, for that matter ...

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...