joekilo Posted July 22, 2003 Posted July 22, 2003 hi, i want to add an image to the bottom of my right column.php ( not in a box) i have the image ready can anyone tell me how to code it into the file? jk
Guest Posted July 22, 2003 Posted July 22, 2003 Add the following code to the bottom of column_right.php after the ?> <td valign="middle"><?php echo tep_image(DIR_WS_IMAGES . 'NAME OF YOUR IMAGE.gif', 'MOUSE OVER TEXT') . '</a>'; ?></td> -Matt
joekilo Posted July 22, 2003 Author Posted July 22, 2003 thanks... i just tried that but nothings happenend any ideas ? i have uploaded the image to my image folder? maybe it isnt calling it? jk
Guest Posted July 22, 2003 Posted July 22, 2003 did u change it to the name of your image, and did you add it right at the bottom. Do you have it on the internet or is it on your computer. -Matt
joekilo Posted July 22, 2003 Author Posted July 22, 2003 yes i did change the name as you said....and it is on the web that im uploading to..i also placed it after ?> but nothing happened not even an error? i tried a couple of similar scenarios like putting it before the ?> etc but then i get errors jk
Guest Posted July 22, 2003 Posted July 22, 2003 If you are willing to, you could change your password temporerly and give me ftp access and ill sort it out for you, or you could email me a copy of your column_right.php and ill change it and email back. If you do this let me know what the name of the image is aswell. If you would like me to sort it via ftp send me your details to: [email protected] Or if youd rather just send the file send it to the same address. -Matt
joekilo Posted July 22, 2003 Author Posted July 22, 2003 cheers here is my code for column right php with what i added at the bottom with the correct poweredbyworldpay.gif if you see where this can be added let me know cheers. jk
Guest Posted July 22, 2003 Posted July 22, 2003 did you send your code via email because I have not received it -Matt
joekilo Posted July 23, 2003 Author Posted July 23, 2003 sorry bout that dont kno why it didnt post here is the code for my column right again ...with what you said on the end. <?php /* $Id: column_right.php,v 1.15 2002/03/13 13:52:20 hpdl Exp $ osCommerce, Open Source E-Commerce Solutions http://www.oscommerce.com Copyright (c) 2002 osCommerce Released under the GNU General Public License */ require(DIR_WS_BOXES . 'shopping_cart.php'); if ($HTTP_GET_VARS['products_id']) //include(DIR_WS_BOXES . 'manufacturer_info.php'); if (tep_session_is_registered('customer_id')) include(DIR_WS_BOXES . 'order_history.php'); if ($HTTP_GET_VARS['products_id']) { if (session_is_registered('customer_id')) { $check_query = tep_db_query("select count(*) as count from " . TABLE_CUSTOMERS_INFO . " where customers_info_id = '" . $customer_id . "' and global_product_notifications = '1'"); $check = tep_db_fetch_array($check_query); if ($check['count'] > 0) { include(DIR_WS_BOXES . 'best_sellers.php'); } else { //include(DIR_WS_BOXES . 'product_notifications.php'); } } else { //include(DIR_WS_BOXES . 'product_notifications.php'); } } else { include(DIR_WS_BOXES . 'best_sellers.php'); } if ($HTTP_GET_VARS['products_id']) { if (basename($PHP_SELF) != FILENAME_TELL_A_FRIEND) include(DIR_WS_BOXES . 'tell_a_friend.php'); } else { include(DIR_WS_BOXES . 'specials.php'); } //require(DIR_WS_BOXES . 'reviews.php'); if (substr(basename($PHP_SELF), 0, 8) != 'checkout') { include(DIR_WS_BOXES . 'languages.php'); include(DIR_WS_BOXES . 'currencies.php'); include(DIR_WS_BOXES . 'card.php'); } ?> <td valign="middle"><?php echo tep_image(DIR_WS_IMAGES . 'poweredbyworldpay.gif', 'MOUSE OVER TEXT') . '</a>'; ?></td> cheers if you can help jk
Guest Posted July 23, 2003 Posted July 23, 2003 It worked fine for me, have you uploaded the image to catalog/images and make sure that the spelling of the image matches the spelling in the script exactly. To check whether the script works change the name of the image in the script to oscommerce.gif and see if anything appears. -Matt
joekilo Posted July 23, 2003 Author Posted July 23, 2003 you know what you were right....the spelling was poweredByWorldPay.gif...i had miissed the capital P....what a doughnut... thanks a lot for your patience and help on this one.... i am pratically ready to go live i reckon but obviously still loads to do....have you any ideas on joining search engines etc....do i have to create tags and and spiders or what ever they are....im not sure how it works but want to get on the uk engines mainly then elsewhere as bonus jk
Guest Posted July 23, 2003 Posted July 23, 2003 np glad I could help! I dont really no too much about spiders and tags, ive been looking into this software called addweb http://www.cyberspacehq.com/products/AddWeb/home.shtm It seems very good and very easy to use but I havnt actually tried it yet. -Matt
Recommended Posts
Archived
This topic is now archived and is closed to further replies.