Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Removing infobox (menu) from ONLY the Index page


mablesyrup

Recommended Posts

Posted

On my index page- I don't want the infoboxes with navigation etc to appear. I am using a horizontal nav across the top.

However, when they click a catergory at the top and are taken to the specific pages- I would like the side navigation

in the infobox to appear.

 

How can I take it out just from the index page?

 

Thanks so much, in advance!

Posted

you can use the following code:

if (substr(basename($PHP_SELF), 0, 5) != 'index') {
include(DIR_WS_BOXES . 'categories.php');
}

Please read this line: Do you want to find all the answers to your questions? click here. As for contribution database it's located here!

8 people out of 10 don't bother to read installation manuals. I can recommend: if you can't read the installation manual, don't bother to install any contribution yourself.

Before installing contribution or editing/updating/deleting any files, do the full backup, it will save to you & everyone here on the forum time to fix your issues.

Any issues with oscommerce, I am here to help you.

Archived

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

×
×
  • Create New...