Guest Posted April 10, 2005 Posted April 10, 2005 Hi, I'm looking to have a few of the infoboxes in includes/column_left.php and includes/column_right.php hidden when on the homepage (index.php). Can anyone guide me as to how this can be done? I'm not a php programmer, but I can follow directions. Thanks.
Nacer Posted April 10, 2005 Posted April 10, 2005 This should help: http://www.oscommerce.info/kb/osCommerce/C...g_Area/Boxes/64 Enjoy Nacer.
tyad Posted April 10, 2005 Posted April 10, 2005 Hi there, If you open up the column_right and column_left files all you need to do is # out the boxes you dont want to be displayed, eg. to hide currencies and languages in column_right edit the file and add the # # include(DIR_WS_BOXES . 'languages.php'); # include(DIR_WS_BOXES . 'currencies.php');[code]
Jack_mcs Posted April 10, 2005 Posted April 10, 2005 Hi, I'm looking to have a few of the infoboxes in includes/column_left.php and includes/column_right.php hidden when on the homepage (index.php). Can anyone guide me as to how this can be done? I'm not a php programmer, but I can follow directions. Thanks. <{POST_SNAPBACK}> You need to add the following code before the box you want to hide:if (basename($PHP_SELF) != FILENAME_DEFAULT) 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
Guest Posted April 10, 2005 Posted April 10, 2005 Thanks jack, that's exactly what i was looking for. i thought i made myself clear that i only wanted it hidden on a certain page, so thanks for understanding. Let's see if that works.
Recommended Posts
Archived
This topic is now archived and is closed to further replies.