Guest Posted March 4, 2009 Posted March 4, 2009 Hi all, I am posting to this forum as I have 4 problems with my website that need sorting out and although I am progressing with my knowledge of Oscommerce, these problems have me beat. Take a look at my site---www.modellers-world.com Problem 1---I have installed Define Mainpage and am happy with the result except for the gap to the left of my banner. I enlarge the banner using fireworks but on upload and refresh it just pushes the right border out. Problem 2---The the boxes added by Define Mainpage are not at the top because there is coding somewhere for "welcome guest blah,blah,blah---I remarked out the define code relating to welcome guest in Catalog/Includes/Languages.English.php and all I get is a define guest remark appear at the same position. I need to be able to move these boxes to the top of the page. Problem 3---I have installed Product Listing Enhancements and all works, except when you click to view new products for *** you are returned with error saying website cannot display page. Problem 4---I want to move the search box to the to of left column--How do I do this?? Thanks in advance Paul Rowe Quote
germ Posted March 4, 2009 Posted March 4, 2009 This code just below the code you edited in /catalog/includes/header.php to put your own logo in is what pushes things out when you enlarge the banner: <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> The HTML source has the image sizes as 1 x 1 (you've replaced default images with a 1 x 1 images I presume), but it still reserves space for them, and all the non-breaking spaces. If you aren't going to use them comment them out of the code: <!-- commented out <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> //--> I can't answer any of the other Q's... :blush: Quote If I suggest you edit any file(s) make a backup first - I'm not perfect and neither are you. "Given enough impetus a parallelogramatically shaped projectile can egress a circular orifice." - Me - "Headers already sent" - The definitive help "Cannot redeclare ..." - How to find/fix it SSL Implementation Help Like this post? "Like" it again over there >
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.