antruco Posted April 4, 2008 Posted April 4, 2008 It is my first time dealing with oscommerce, and I guess all the process until now has been fine. I am working on: http://voguecouturefashion.com/catalog/ and for some reason the image "enter.jpg" that goes next to Tell a Friend cannot be pulled from the images folder. Lines below the code from the tell_a_friend.php: <?php $info_box_contents = array(); $info_box_contents[] = array('text' => BOX_HEADING_TELL_A_FRIEND); // new infoBoxHeading($info_box_contents, false, false); $info_box_contents = array(); $info_box_contents[] = array('form' => tep_draw_form('tell_a_friend', tep_href_link(FILENAME_TELL_A_FRIEND, '', 'NONSSL', false), 'get'), 'align' => 'left', 'text' => tep_draw_input_field('to_email_address', '', 'size="10" maxlength="30" style="margin-left:0px; width:100%; height:19px; background-color:#ffffff; border-style:inset; border-width:2px; border-color:#ABABAB ; color:#747474" value="' . BOX_VALUE_FRIEND . '" onClick="this.value=\'\' "') . '</td><td>' . tep_image_submit ('enter.jpg', BOX_HEADING_TELL_A_FRIEND));// . tep_draw_hidden_field('products_id', $HTTP_GET_VARS['products_id']) . tep_hide_session_id() . '<br>' . BOX_TELL_A_FRIEND_TEXT); new infoBox($info_box_contents); ?> Can somebody help me with this little problem. Thanks
cczernia Posted April 4, 2008 Posted April 4, 2008 It looks like it is trying to pull the image from buttons. Here is the source it is outputting: src="includes/languages/english/images/buttons//images/enter.jpg?osCsid=8c32516639f407ee0d6d429eff0bb56d" Try putting enter.php into includes/languages/english/images/buttons//images/ Shade and Sweet Water Chris Czerniak
antruco Posted April 4, 2008 Author Posted April 4, 2008 It looks like it is trying to pull the image from buttons. Here is the source it is outputting: src="includes/languages/english/images/buttons//images/enter.jpg?osCsid=8c32516639f407ee0d6d429eff0bb56d" Try putting enter.php into includes/languages/english/images/buttons//images/ Thank you very much. I just created a folder images inside buttons, and now it is working. My only question is: why is it looking the image in that address? In my config.php there is a path for images (/images), and all files by now pull images from there. At least by now the problem seems solved.
cczernia Posted April 4, 2008 Posted April 4, 2008 All the buttons (or standard images with text on them) are associated with a languages. So you will find them under includes/languages/languageused so if you decide to switch languages it will load a different set of buttons. Thank you very much. I just created a folder images inside buttons, and now it is working. My only question is: why is it looking the image in that address? In my config.php there is a path for images (/images), and all files by now pull images from there. At least by now the problem seems solved. Shade and Sweet Water Chris Czerniak
antruco Posted April 7, 2008 Author Posted April 7, 2008 Thank you Chris, now everything has more sense. May I contact you, if I have more questions/problems with oscommerce? Thanks, Cesar
Recommended Posts
Archived
This topic is now archived and is closed to further replies.