Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Search needed.


tim_ver

Recommended Posts

Right now I do not have any search the site on my main page and want add it. I have the search.php in the includes/boxes folder. What do I need to add to have it display on the main index.php page?

 

What files to edit with what code?

 

Thanks much :)

Link to comment
Share on other sites

In my column_left.php now I have:

 

if ((USE_CACHE == 'true') && empty($SID)) {

echo tep_cache_categories_box();

} else {

include(DIR_WS_BOXES . 'categories.php');

}

 

 

require(DIR_WS_BOXES . 'whats_new.php');

require(DIR_WS_BOXES . 'search.php');

require(DIR_WS_BOXES . 'information.php');

?>

 

 

And the only thing that shows up is categories. Which the heading is Our Stuff.

 

Why is it now displaying the what's new and search?

 

Thanks

Link to comment
Share on other sites

If the template isn't set up to use them, you can't usually add them since the appearanc will be all wrong. You may be able to add the individaul lines to include a box though. You will just need to find where the template makers have added the code in the column.

 

Jack

Support Links:

For Hire: Contact me for anything you need help with for your shop: upgrading, hosting, repairs, code written, etc.

All of My Addons

Get the latest versions of my addons

Recommended SEO Addons

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...