skywalker786 Posted July 27, 2006 Share Posted July 27, 2006 Hello Does anyone know how I can move the "quick search" box which is located on the left hand side to my pink box on the top right hand corner? url: http://inkjuice.com/catalog/ sky Link to comment Share on other sites More sharing options...
bill110 Posted July 27, 2006 Share Posted July 27, 2006 Hello Does anyone know how I can move the "quick search" box which is located on the left hand side to my pink box on the top right hand corner? url: http://inkjuice.com/catalog/ sky Just moving it up there is only the beginning. without more changes the whole top area would resize. plus it would not be the right color. Trying to change it's color would change other box's colors. you could go to catalog/includes/header.php and replace the calls to the three images with a text link to the search like this: <a href="<?php echo tep_href_link(FILENAME_ADVANCED_SEARCH); ?>" class="headercontent"><?php echo HEADER_TITLE_ADVANCED_SEARCH; ?></a> see here for example http://www.carolz-stylez.com My Contributions Stylesheet With Descriptions Glassy Grey Boxtops Our Products Meta Tags On The Fly Password Protect Admin "No matter where you go....There you are" - Buccaroo Bonsai Link to comment Share on other sites More sharing options...
skywalker786 Posted July 27, 2006 Author Share Posted July 27, 2006 Just moving it up there is only the beginning. without more changes the whole top area would resize. plus it would not be the right color. Trying to change it's color would change other box's colors.you could go to catalog/includes/header.php and replace the calls to the three images with a text link to the search like this: <a href="<?php echo tep_href_link(FILENAME_ADVANCED_SEARCH); ?>" class="headercontent"><?php echo HEADER_TITLE_ADVANCED_SEARCH; ?></a> see here for example http://www.carolz-stylez.com hi I did it and this is what it looks like :http://inkjuice.com/catalog/ I am not interested in the other 3 links I am going to put them else where. here is my code comment it the original links code: <table width="770" border="1" align="center" cellpadding="0" cellspacing="0"> <tr class="header"> <td width="591" valign="middle"><?php echo '<a href="' . tep_href_link(FILENAME_DEFAULT) . '">' . tep_image(DIR_WS_IMAGES . 'inkj_banner.jpg', 'osCommerce') . '</a>'; ?></td> <td align="right" valign="bottom" bgcolor="#FF0099"><a href="<?php echo tep_href_link(FILENAME_ADVANCED_SEARCH); ?>" class="headercontent"><?php echo HEADER_TITLE_ADVANCED_SEARCH; ?></a></td> <!--<td align="right" valign="bottom" bgcolor="#FF0099"><?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> </table> Link to comment Share on other sites More sharing options...
bill110 Posted July 27, 2006 Share Posted July 27, 2006 hi I did it and this is what it looks like :http://inkjuice.com/catalog/I am not interested in the other 3 links I am going to put them else where. here is my code comment it the original links code: <table width="770" border="1" align="center" cellpadding="0" cellspacing="0"> <tr class="header"> <td width="591" valign="middle"><?php echo '<a href="' . tep_href_link(FILENAME_DEFAULT) . '">' . tep_image(DIR_WS_IMAGES . 'inkj_banner.jpg', 'osCommerce') . '</a>'; ?></td> <td align="right" valign="bottom" bgcolor="#FF0099"><a href="<?php echo tep_href_link(FILENAME_ADVANCED_SEARCH); ?>" class="headercontent"><?php echo HEADER_TITLE_ADVANCED_SEARCH; ?></a></td> <!--<td align="right" valign="bottom" bgcolor="#FF0099"><?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> </table> Ok go to catalog/includes/languages/english/english.php add this under where it says // header text in includes/header.php define('HEADER_TITLE_ADVANCED_SEARCH', 'Site Search'); see if that works. My Contributions Stylesheet With Descriptions Glassy Grey Boxtops Our Products Meta Tags On The Fly Password Protect Admin "No matter where you go....There you are" - Buccaroo Bonsai Link to comment Share on other sites More sharing options...
skywalker786 Posted July 27, 2006 Author Share Posted July 27, 2006 Ok go to catalog/includes/languages/english/english.phpadd this under where it says // header text in includes/header.php define('HEADER_TITLE_ADVANCED_SEARCH', 'Site Search'); see if that works. That works!, But I made a mistake in my communication (sorry) I actually wanted the "quick find" box at the left hand side with the text box and maginfier, in the pink box. Would be grateful if you could sus this for me :-) many thanks Link to comment Share on other sites More sharing options...
bill110 Posted July 27, 2006 Share Posted July 27, 2006 That works!, But I made a mistake in my communication (sorry) I actually wanted the "quick find" box at the left hand side with the text box and maginfier, in the pink box. Would be grateful if you could sus this for me :-) many thanks Like i said in my first reply that would be pretty involved. this is just an alternate way to do it. to move it up there will require several file manipulations. this forum probably wouldnt be the place to go through all that. a call to the box would be like this: require(DIR_WS_BOXES . 'search.php'); but you would have to do some coding to place it correctly and the colors would be all wrong. going to work now but i hope this helps some My Contributions Stylesheet With Descriptions Glassy Grey Boxtops Our Products Meta Tags On The Fly Password Protect Admin "No matter where you go....There you are" - Buccaroo Bonsai Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.