warrenerjm Posted March 10, 2006 Posted March 10, 2006 Hi Another problem is I want to remove the "Manufacturer Info" box, as I haven't linked the manufacturers to their own web sites, so this box isn't needed. In a search I saw that if you put /* before require(DIR...php'); and */ afterwards that it makes that box invisible. This was in catalog/include/column_right.php Is that true & would it leave a gap where it should be? Thanks for yor help again Julie
Jack_mcs Posted March 10, 2006 Posted March 10, 2006 Yes, that will work and no, it won't leave a gap. 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
warrenerjm Posted March 10, 2006 Author Posted March 10, 2006 Yes, that will work and no, it won't leave a gap. Jack Hi This is the exact line. if (isset($HTTP_GET_VARS['products_id'])) include(DIR_WS_BOXES . 'manufacturer_info.php'); Does the /* go at the beginning & */ at the end OR after the include & end? Thanks Julie
jasonabc Posted March 10, 2006 Posted March 10, 2006 if you delete all the default manufacturers using the Admin Tool this will also make the box disappear Jason My Contributions: Paypal Payflow PRO | Rollover Category Images | Authorize.net Invoice Number Fix
warrenerjm Posted March 10, 2006 Author Posted March 10, 2006 if you delete all the default manufacturers using the Admin Tool this will also make the box disappear Hi Sorry I am a little confused by this? I want to see the manufacturers that I stock, which appear in the manufacturers box on the left hand side, but I don't want the box called manufacturer info on the right hand side. This is where, on selecting a product it appears with that manufacturers name & a link to the manufacturers web site. I haven't put these web sites in so the link & box is not needed. I have deleted all the default manufacturers from the admin panel??? Julie
jasonabc Posted March 10, 2006 Posted March 10, 2006 ahh sorry - I misunderstood you. To remove that box go into /catalog/includes/column_right.php and comment out this line: if (isset($HTTP_GET_VARS['products_id'])) include(DIR_WS_BOXES . 'manufacturer_info.php'); this can be done by jsut placing a '#' at the start: #if (isset($HTTP_GET_VARS['products_id'])) include(DIR_WS_BOXES . 'manufacturer_info.php'); Jason My Contributions: Paypal Payflow PRO | Rollover Category Images | Authorize.net Invoice Number Fix
warrenerjm Posted March 10, 2006 Author Posted March 10, 2006 ahh sorry - I misunderstood you. To remove that box go into /catalog/includes/column_right.php and comment out this line: if (isset($HTTP_GET_VARS['products_id'])) include(DIR_WS_BOXES . 'manufacturer_info.php'); this can be done by jsut placing a '#' at the start: #if (isset($HTTP_GET_VARS['products_id'])) include(DIR_WS_BOXES . 'manufacturer_info.php'); Thank you Jason. That worked. Can I be cheeky & ask you another box question? I tried one contribution to remove the top right hand pictures, which it did in the main catalogue page, but not in the other pages, ie; contact us, conditions. I then learnt through contributions/forum that amending the width/height in admin would remove them. It did. All good, apart from my main page is slightly different. The right hand column has dropped down slightly, starting on the welcome line, & the Top line doesn't meet at the top, & the footer line doesn't meet on the left. I know what three lines I took out of the catalog/index.php page, but not where they go back in, as I assume this is slightly altering the above. If you can't answer this I will post a new thread, when I have finished what I am doing. Thank you anyhow. Julie
jasonabc Posted March 10, 2006 Posted March 10, 2006 hmmm I'm not sure why you needed a contribution to remove the top right hand pics (to My Account / Cart / Checkout right?) Changing the width and height in index.php to remove these was not good advice. The top right-hand pics are in catalog > includes > header.php. Remove this: <td align="right" valign="bottom"><?php echo '<a href="' . tep_href_link(FILENAME_ACCOUNT, '', 'SSL') . '">' . tep_image(DIR_WS_IMAGES . 'header_account.gif', HEADER_TITLE_MY_ACCOUNT) . '</a> <a href="' . tep_href_link(FILENAME_SHOPPING_CART) . '">' . tep_image(DIR_WS_IMAGES . 'header_cart.gif', HEADER_TITLE_CART_CONTENTS) . '</a> <a href="' . tep_href_link(FILENAME_CHECKOUT_SHIPPING, '', 'SSL') . '">' . tep_image(DIR_WS_IMAGES . 'header_checkout.gif', HEADER_TITLE_CHECKOUT) . '</a>'; ?> </td> Problem solved ;-) Jason My Contributions: Paypal Payflow PRO | Rollover Category Images | Authorize.net Invoice Number Fix
warrenerjm Posted March 10, 2006 Author Posted March 10, 2006 hmmm I'm not sure why you needed a contribution to remove the top right hand pics (to My Account / Cart / Checkout right?) Changing the width and height in index.php to remove these was not good advice. The top right-hand pics are in catalog > includes > header.php. Remove this: <td align="right" valign="bottom"><?php echo '<a href="' . tep_href_link(FILENAME_ACCOUNT, '', 'SSL') . '">' . tep_image(DIR_WS_IMAGES . 'header_account.gif', HEADER_TITLE_MY_ACCOUNT) . '</a> <a href="' . tep_href_link(FILENAME_SHOPPING_CART) . '">' . tep_image(DIR_WS_IMAGES . 'header_cart.gif', HEADER_TITLE_CART_CONTENTS) . '</a> <a href="' . tep_href_link(FILENAME_CHECKOUT_SHIPPING, '', 'SSL') . '">' . tep_image(DIR_WS_IMAGES . 'header_checkout.gif', HEADER_TITLE_CHECKOUT) . '</a>'; ?> </td> Problem solved ;-) Hi I am so bad at explaining myself. Sorry. The pics above My account /Cart/Checkout I did do as you said. This is what I first did to remove the pictures that appaer inside each page in the top right hand side, next to top right box: REMOVE CATEGORY IMAGE-UPDATE 06/13/04 THIS IS JUST A QUICK UPDATE TO THE "REMOVE CATEGORY IMAGE" MOD OFFERED BY Mike Mierzwa. THE ADDED UPDATE IS MARKED BELOW. W. Gray [email protected] --------------------------------------------------------------------------------------------- This is my first contribution. A simple way to remove the category images, shown on all pages to the far right near the infobox shopping cart. Make sure you backup up your files prior to removing these lines, just in case. In your primary cart directory open up the index.php file. (Line numbers may be higher or lower depending on your configuration) ----------- ADDED UPDATE-------------- Find line 67 and remove it. <td class="pageHeading" align="right"><?php echo tep_image(DIR_WS_IMAGES . $category['categories_image'], $category['categories_name'], HEADING_IMAGE_WIDTH, HEADING_IMAGE_HEIGHT); ?></td> -----------END ADDED UPDATE---------- Find line 272 and remove it. <td align="right"><?php echo tep_image(DIR_WS_IMAGES . $image, HEADING_TITLE, HEADING_IMAGE_WIDTH, HEADING_IMAGE_HEIGHT); ?></td> Next find line 291 as shown below and remove it. <td class="pageHeading" align="right"><?php echo tep_image(DIR_WS_IMAGES . 'table_background_default.gif', HEADING_TITLE, HEADING_IMAGE_WIDTH, HEADING_IMAGE_HEIGHT); ?></td> That's it! Save the file and upload it. These are the lines that I think is making my first page slightly different as explained before. I would put them back in but don't know where they go as the lines were all different from quoted. Hope that says it better? Thanks Julie
jasonabc Posted March 10, 2006 Posted March 10, 2006 ahh ok - the top right category images ;-) Removing those lines from index.php should have worked. You might have removed an extra <td> tag or something by mistake. Can you post a URL to your problem page? Jason My Contributions: Paypal Payflow PRO | Rollover Category Images | Authorize.net Invoice Number Fix
Recommended Posts
Archived
This topic is now archived and is closed to further replies.