germ Posted April 10, 2007 Posted April 10, 2007 No logo is displayed. Not even a red X (I could fix that). I've looked thru the posts on this, and everything seems to be set right. I have the oscommerce.gif file in the /images folder. The header.php file references oscommerce.gif Nothing shows? Some of the posts reference a /catalog folder.... I don't have one anywhere by that name. Any suggestions? :'( 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 >
germ Posted April 12, 2007 Author Posted April 12, 2007 the 'header.php' file is never referenced by any of the modules. :blink: 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 >
♥jailaxmi Posted April 12, 2007 Posted April 12, 2007 No logo is displayed. Not even a red X (I could fix that). I've looked thru the posts on this, and everything seems to be set right. I have the oscommerce.gif file in the /images folder. The header.php file references oscommerce.gif Nothing shows? Some of the posts reference a /catalog folder.... I don't have one anywhere by that name. Any suggestions? :'( Are you referring to your store logo? Did you upload it to your images folder? You should then add your image name to the includes/headers.php file where it says: <div class="fixcenter"> <table border="0" width="100%" cellspacing="0" cellpadding="0"> <tr class="header"> <td valign="middle"><?php echo '<a href="' . tep_href_link(FILENAME_DEFAULT) . '">' . tep_image(DIR_WS_IMAGES . 'yourlogo.gif', 'Your store name, keywords or whateverer (the image alt tag)') . '</a>'; ?></td> </tr> </table> <table border="0" width="100%" cellspacing="0" cellpadding="1"> <tr class="headerNavigation"> Not sure if yours looks exactly like mine, since I have made some changes to the file, but you'll get the idea about where to add your logo. The catalog folder refers to the fact that the OsCommerce package comes in a folder named 'catalog'. So, if you installled all the files at the root of your site, you wouldn't have a separate 'catalog' folder for them. You'd have http://yourdomain.com, and not http://yourdomain.com/catalog, as would be the case if you had installed the package within its original folder. In other words, for you the /catalog folder refers to your main site folder, where your index.php file is and your 'admin', 'includes', 'images' folders, etc., are. jailaxmi I repeat myself when under stress, I repeat myself when under stress, I repeat myself... --King Crimson (“Discipline”)
germ Posted April 18, 2007 Author Posted April 18, 2007 Thank you for your response. I manually edited this code into the index.php file, immediately after the <body> tag. <table width="960" border="0" cellspacing="0" cellpadding="0" align=center> <tr> <td valign="middle" class="top-top"> <!-- header //--> <?php require(DIR_WS_INCLUDES . 'header.php'); ?> <!-- header_eof //--> </td> </tr> </table> That worked for me. Hopefully this might help someone else that may encounter the same problem. B) 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
Archived
This topic is now archived and is closed to further replies.