Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

The search....


mcadamania

Recommended Posts

Ok, ive started a new store, and im just learning php, the basic steps!

 

Where do i find the file that contains the code to edit on the search box...

 

You know - Use keywords to find the product you are looking for.

Advanced Search

 

Is there an easy way to find out which pages are which, because when i go to properties of a page it just comes up /index.php.

 

Thanks martin

Link to comment
Share on other sites

I found it :D

 

I now have another problem

 

 

I wanted to make the search image to go just beneath the input box.

 

The code looks like this just now -

 

'text' => tep_draw_input_field('keywords', '', 'size="10" maxlength="30" ') . ' ' . tep_hide_session_id() . tep_image_submit('button_quick_find.gif', BOX_HEADING_SEARCH) . '<br>' . BOX_SEARCH_TEXT . '<br><a href="' . tep_href_link

 

This makes the image go on the same line as the input box, and it pushes my info boxes wider.

I want to make it so that it is just underneath the input box... whats the code for this?

 

i tried to change the code myself (newbie php'er)

 

'text' => tep_draw_input_field('keywords', '', 'size="10" maxlength="30" ') . '<p> </p>' . tep_hide_session_id() . tep_image_submit('button_quick_find.gif', BOX_HEADING_SEARCH) . '<br>' . BOX_SEARCH_TEXT . '<br><a href="' . tep_href_link

 

That then made it go under the textbox like i wanted, but it has left a big gap and its about 4 odd lines lower than i wanted....

 

whats the problem here, how do i get it from beside to below?

 

martin

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...