Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Buying a template...have a simple question


SFloyd2k

Recommended Posts

Posted

I'm buying an OSCommerce template from TemplateMonster.com soon and have an important question. I am opening a photos site, and need to have a search box readily accessible to users on the homepage. I noticed that a lot of these templates have a search TEXT LINK but not a box. How hard would it be to manually add a search box into one of these templates that does not have one? How much coding or knowledge would it take? Is it worth it?

 

Also, does anyone know the complexity of installing one of these templates?

 

Thanks

Posted
I'm buying an OSCommerce template from TemplateMonster.com soon and have an important question. I am opening a photos site, and need to have a search box readily accessible to users on the homepage. I noticed that a lot of these templates have a search TEXT LINK but not a box. How hard would it be to manually add a search box into one of these templates that does not have one? How much coding or knowledge would it take? Is it worth it?

 

Also, does anyone know the complexity of installing one of these templates?

 

Thanks

 

This contribution let's you add a search box anywhere you want.

http://www.oscommerce.com/community/contri...arch,search+box

 

I also bought several templates from TM and they were not hard to install. Basically it was a complete install set of osc with the template and images already applied. The same steps were used to install it as the knowledge base directions found here for installing a regular copy of osc. Adding a contribution is fairly easy just make sure to read everything that comes with it first.

 

For me it was worth the $$ for the TM template as I had zero ideas on a layout and almost no php skills. But to each their own.

 

-- Mindy

Posted

find the code of that link(be sure to include the tr and td open & close tags) then replace this code

 

<!-- 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>' . 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 //-->

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...