amanz Posted June 14, 2010 Posted June 14, 2010 I uploaded my jpg. logo using banner manager and made a store name change. The name change worked, but the banner image does not open - all I get is a red X. Help! As well, how do I change the sample text on the index page? Many thanks!
Guest Posted June 14, 2010 Posted June 14, 2010 Alan, The banner manager is for the advertising banners on the bottom of the store, NOT your header image. If you want to change the header image you need to edit includes/header.php and place the filename of the banner where is currently says store_logo.png. Then upload the banner image to the /images directory using your FTP. The sample text is changes in the includes/languages/english.php where it stays TEXT_MAIN Chris
amanz Posted June 14, 2010 Author Posted June 14, 2010 Alan, The banner manager is for the advertising banners on the bottom of the store, NOT your header image. If you want to change the header image you need to edit includes/header.php and place the filename of the banner where is currently says store_logo.png. Then upload the banner image to the /images directory using your FTP. The sample text is changes in the includes/languages/english.php where it stays TEXT_MAIN Chris Hi Chris, I've opened header.php and there is no "store_logo.png." script. However I see my file name which I had inserted using Banner Manager. What do I do next? Thanks!
Guest Posted June 14, 2010 Posted June 14, 2010 Alan, A default OSC installation uses the store_logo.php as the header image. However, if yours does not look for this code or something similar: <tr class="header"> <td valign="middle"><?php echo '<a href="' . tep_href_link(FILENAME_DEFAULT) . '">' . tep_image(DIR_WS_IMAGES . 'store_logo.png', STORE_NAME) . '</a>'; ?></td> <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> </tr> this line is where you would enter the filename of your banner image: <td valign="middle"><?php echo '<a href="' . tep_href_link(FILENAME_DEFAULT) . '">' . tep_image(DIR_WS_IMAGES . 'store_logo.png', STORE_NAME) . '</a>'; ?></td> Then upload the banner image to the /images/ directory Chris
amanz Posted June 14, 2010 Author Posted June 14, 2010 Alan, A default OSC installation uses the store_logo.php as the header image. However, if yours does not look for this code or something similar: <tr class="header"> <td valign="middle"><?php echo '<a href="' . tep_href_link(FILENAME_DEFAULT) . '">' . tep_image(DIR_WS_IMAGES . 'store_logo.png', STORE_NAME) . '</a>'; ?></td> <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> </tr> this line is where you would enter the filename of your banner image: <td valign="middle"><?php echo '<a href="' . tep_href_link(FILENAME_DEFAULT) . '">' . tep_image(DIR_WS_IMAGES . 'store_logo.png', STORE_NAME) . '</a>'; ?></td> Then upload the banner image to the /images/ directory Chris Hi Chris, Here's the change I made: <td valign="middle"><?php echo '<a href="' . tep_href_link(FILENAME_DEFAULT) . '">' . tep_image(DIR_WS_IMAGES . 'einstein-001jpg', SMARTBRANDSNL) . '</a>'; ?></td> I uploaded the image file using FTP, but the image won't open.
Guest Posted June 14, 2010 Posted June 14, 2010 Alan, This is not a proper filename : einstein-001jpg change it to einstein_001.jpg and make sure the image name is the same. Chris
amanz Posted June 15, 2010 Author Posted June 15, 2010 Alan, This is not a proper filename : einstein-001jpg change it to einstein_001.jpg and make sure the image name is the same. Hi Chris, I changed the filename in the script and in the imgaes file, but no go! Chris
Guest Posted June 15, 2010 Posted June 15, 2010 Alan, It is obvious you have a purchased template that definitely has some uncommon code. I am sorry, but you may have to find someone to help you will that. Everything I have suggested is common to MOST osc stores. Chris
amanz Posted June 15, 2010 Author Posted June 15, 2010 Alan, It is obvious you have a purchased template that definitely has some uncommon code. I am sorry, but you may have to find someone to help you will that. Everything I have suggested is common to MOST osc stores. Chris Many thanks, my ISP, Go Daddy, provides OSC along with their Linux server, but they do not provide support as their tech staff do not work with php.
Guest Posted June 15, 2010 Posted June 15, 2010 Alan, Ok, that is odd because I know the version of OSC from Godaddy is RC2a and is standard. (meaning no templates) BTW, the code should be this for your header: <td valign="middle"><?php echo '<a href="' . tep_href_link(FILENAME_DEFAULT) . '">' . tep_image(DIR_WS_IMAGES . 'einstein_001.jpg', STORE_NAME) . '</a>'; ?></td> make sure you have the filename EXACTLY as you entered it into the header and that you have uploaded it to the catalog/images/ directory. Chris
Recommended Posts
Archived
This topic is now archived and is closed to further replies.