Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Double Search Box on front page


scottkh

Recommended Posts

I've been customizing the front page and removing various boxes (currencies, language, specials, etc.) which my site won't require.

 

One odd thing is that the "quick find" search box has duplicated itself, even though the following code only appears once on the english.php page:

 

// quick_find box text in includes/boxes/quick_find.php

define('BOX_HEADING_SEARCH', 'Quick Find');

define('BOX_SEARCH_TEXT', 'Use keywords to find the product you are looking for.');

define('BOX_SEARCH_ADVANCED_SEARCH', 'Advanced Search');

 

Not a huge problem, but annoying nonetheless. Is this a known bug or am I missing something obvious?

 

Many thanks in advance.[/img]

Link to comment
Share on other sites

The "quick find" search box is not generated by the language defines.

 

Look in the column_left.php (or right)

-------------------------------------------------------------------------------------------------------------------------

NOTE: As of Oct 2006, I'm not as active in this forum as I used to be, but I still work with osC quite a bit.

If you have a question about any of my posts here, your best bet is to contact me though either Email or PM in my profile, and I'll be happy to help.

Link to comment
Share on other sites

It is more likely that you have somehow duplicated the code to insert the search box in column_left.php

 

Check that this code:

 

require(DIR_WS_BOXES . 'search.php');

 

doesn't appear twice. You might have duplicated it by accident when you thought you were moving it. Ctrl+C instead of Ctrl+X

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...