This is a discussion on search function within the osCommerce 2.2 Modification Help forums, part of the osCommerce 2.2 Forums category; Hi, i am wanting a big search function at the centre of my index page, almost google style, any ideas ...
| |||||||
| Register | FAQ | Donate | Members List | Calendar | Mark Forums Read |
|
#1
| |||
| |||
| Hi, i am wanting a big search function at the centre of my index page, almost google style, any ideas on how i would go about doing this, Thanx |
|
#2
| ||||
| ||||
| Take the code in search.php and insert that into your page where you want it..
__________________ JPF - osCMax Fourm Moderator - To contact, post on the forum or click here Try out our osCMax at: Live Catalog Demo Limited access Admin: Live Admin Demo Feel free to add products they way you want and then purchase them -=+=- Sorry nothing will be billed or shipped! |
|
#3
| |||
| |||
| oh dear, is it really that simple! :/ I tried it and it didn't work just showed the code I'll try harder this time |
|
#4
| ||||
| ||||
| Like showed the PHP code? Which file are you inserting it in and are you properly coding the PHP... ie the code in within a <?php .... ?> block....
__________________ JPF - osCMax Fourm Moderator - To contact, post on the forum or click here Try out our osCMax at: Live Catalog Demo Limited access Admin: Live Admin Demo Feel free to add products they way you want and then purchase them -=+=- Sorry nothing will be billed or shipped! |
|
#5
| |||
| |||
| cheers for your help bruv, i'll check it now, hopefully it just was the tags |
|
#6
| |||
| |||
| <!-- 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-400) . 'px"') . ' ' . tep_hide_session_id() . tep_image_submit('button_quick_find.gif', BOX_HEADING_SEARCH) . '<br>' . BOX_SEARCH_TEXT . '<br><a href="' . tep_href_link(FILENAME_ADVANCED_SEARCH) . '"><b>' . BOX_SEARCH_ADVANCED_SEARCH . '</b></a>'); new infoBox($info_box_contents); ?> </td> </tr> <!-- search_eof //--> is this the correct code? or this? < form name="quick_find" method="get" action="http://www.yoururl.com/advanced_search_result.php"> < input type="text" name="keywords" size="10" maxlength="30" value="" style="width: 95px"> <input type="submit" value="go"><br> < a href="http://www.yoururl.com/advanced_search.php"><b style="fontsize: 8pt;">Advanced Search</b></a> < /form> neither one was workin Last edited by silverchair; 03-09-2009 at 01:38 PM. |
|
#7
| ||||
| ||||
| Second one will never work. WHERE and WHICH file are you adding this too?
__________________ JPF - osCMax Fourm Moderator - To contact, post on the forum or click here Try out our osCMax at: Live Catalog Demo Limited access Admin: Live Admin Demo Feel free to add products they way you want and then purchase them -=+=- Sorry nothing will be billed or shipped! |
|
#8
| |||
| |||
| i am trying to add it to my index page, but there's so many of em, any ideas? |
|
#9
| ||||
| ||||
| Seaming a shopping cart is nothing like google....where would you like it? Our cart is broken up to 5 main parts. Header, footer, left menu column, right column and the body (the center part) - where most of the cart is changed. Seamin how SEARCH already can be easy swich from left and right column - so Header, footer or body....???
__________________ JPF - osCMax Fourm Moderator - To contact, post on the forum or click here Try out our osCMax at: Live Catalog Demo Limited access Admin: Live Admin Demo Feel free to add products they way you want and then purchase them -=+=- Sorry nothing will be billed or shipped! |
![]() |
| Thread Tools | |
| |
Similar Threads | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Search Function Problem | FlipC | osCMax v2 Installation issues | 0 | 03-04-2008 12:47 PM |
| limitations on search function | aaanativearts | Off topic & Chit Chat | 1 | 06-16-2007 12:22 AM |
| customer search function NEVER worked properly | ogilirca | osCommerce 2.2 Discussion | 0 | 11-22-2006 05:30 AM |
| Search function does not work. | datazen | osCMax v2 Installation issues | 9 | 08-15-2005 11:00 PM |
| How to remove search function | Plastic | osCommerce 2.2 Modification Help | 2 | 05-06-2004 06:35 PM |