cicciopasticcio Posted March 25, 2007 Share Posted March 25, 2007 Hello, I would like move the information from the box currencies languages e search in a new html page I understand how to replace the image and some links.... but im not able to extract the php code from those files: currencies.php languages.php search.php and replace the the code inside the html tags!!! Would be great if somebody could give a general giudelines thanks Link to comment Share on other sites More sharing options...
Jack_mcs Posted March 25, 2007 Share Posted March 25, 2007 I don't understand what you are asking. If you want to replace the code, the files are in includes/boxes/. But replacing those links with html links may cause problems with the shop. Jack Support Links: For Hire: Contact me for anything you need help with for your shop: upgrading, hosting, repairs, code written, etc. All of My Addons Get the latest versions of my addons Recommended SEO Addons Link to comment Share on other sites More sharing options...
cicciopasticcio Posted March 25, 2007 Author Share Posted March 25, 2007 I don't understand what you are asking. If you want to replace the code, the files are in includes/boxes/. But replacing those links with html links may cause problems with the shop. Jack Hi, yes, is exactly what I want to make... I do not understand how extracting the necessary information... thats all. excuse for my scandalous english. ciccio Link to comment Share on other sites More sharing options...
cicciopasticcio Posted March 25, 2007 Author Share Posted March 25, 2007 Hi, yes, is exactly what I want to make...I do not understand how extracting the necessary information... thats all. excuse for my scandalous english. ciccio http://www.all-cover-shop.com/shop/catalog/index.php Link to comment Share on other sites More sharing options...
Jack_mcs Posted March 26, 2007 Share Posted March 26, 2007 Hi, yes, is exactly what I want to make...I do not understand how extracting the necessary information... thats all. excuse for my scandalous english. ciccio Just erase everything in the file, except the beginning <?php and the ending ?>. After that last ?>, insert the html you want. It should be surronded by <tr><td> and </tr></td>. Jack Support Links: For Hire: Contact me for anything you need help with for your shop: upgrading, hosting, repairs, code written, etc. All of My Addons Get the latest versions of my addons Recommended SEO Addons Link to comment Share on other sites More sharing options...
cicciopasticcio Posted March 26, 2007 Author Share Posted March 26, 2007 Just erase everything in the file, except the beginning <?php and the ending ?>. After that last ?>, insert the html you want. It should be surronded by <tr><td> and </tr></td>. Jack Hi, thanks for the suggestion but do not work... <_< this is the original code search.php <?php /* $Id: search.php,v 1.22 2003/02/10 22:31:05 hpdl Exp $ osCommerce, Open Source E-Commerce Solutions http://www.oscommerce.com Copyright © 2003 osCommerce Released under the GNU General Public License */ ?> <!-- search //--> <tr> <td> <?php $info_box_contents = array(); $info_box_contents[] = array('text' => BOX_HEADING_SEARCH); new infoBoxHeading($info_box_contents, false, false); $info_box_contents = array(); $info_box_contents[] = array('form' => tep_draw_form('quick_find', tep_href_link(FILENAME_ADVANCED_SEARCH_RESULT, '', 'NONSSL', false), 'get'), 'align' => 'center', 'text' => tep_draw_input_field('keywords', '', 'size="10" maxlength="30" style="width: ' . (BOX_WIDTH-30) . 'px"') . ' ' . tep_hide_session_id() . tep_image_submit('button_quick_find.gif', BOX_HEADING_SEARCH) . '<br>' ?> </td> </tr> <!-- search_eof //--> the modified code <?php (BOX_HEADING_SEARCH);?> <?php tep_draw_form('quick_find', tep_href_link(FILENAME_ADVANCED_SEARCH_RESULT, '', 'NONSSL', false), 'get'); ?> tep_draw_input_field('keywords', '', 'size="10" maxlength="30" style="width: ' . (BOX_WIDTH-30) . 'px"'); tep_image_submit('button_quick_find.gif', BOX_HEADING_SEARCH); ?> <br>test <b>test search.php</b><br> Link to comment Share on other sites More sharing options...
Jack_mcs Posted March 27, 2007 Share Posted March 27, 2007 Try <?php ?> <tr> <td><?php echo BOX_HEADING_SEARCH; ?></td> </tr> <?php tep_draw_form('quick_find', tep_href_link(FILENAME_ADVANCED_SEARCH_RESULT, '', 'NONSSL', false), 'get'); tep_draw_input_field('keywords', '', 'size="10" maxlength="30" style="width: ' . (BOX_WIDTH-30) . 'px"'); tep_image_submit('button_quick_find.gif', BOX_HEADING_SEARCH); ?> <tr> <td>test <b>test search.php</b></td> </tr> Jack Support Links: For Hire: Contact me for anything you need help with for your shop: upgrading, hosting, repairs, code written, etc. All of My Addons Get the latest versions of my addons Recommended SEO Addons Link to comment Share on other sites More sharing options...
cicciopasticcio Posted March 27, 2007 Author Share Posted March 27, 2007 Try <?php ?> <tr> <td><?php echo BOX_HEADING_SEARCH; ?></td> </tr> <?php tep_draw_form('quick_find', tep_href_link(FILENAME_ADVANCED_SEARCH_RESULT, '', 'NONSSL', false), 'get'); tep_draw_input_field('keywords', '', 'size="10" maxlength="30" style="width: ' . (BOX_WIDTH-30) . 'px"'); tep_image_submit('button_quick_find.gif', BOX_HEADING_SEARCH); ?> <tr> <td>test <b>test search.php</b></td> </tr> Jack thanks for the support, now not are errors but it does not come visualized the combo and the image... :'( tomorrow with calm I try to recheck the code I will make to know you Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.