Halfagain IM Forums
May 23, 2012, 22:28 *
Welcome, Guest. Please login or register.

Login with username, password and session length
News: Due to increasing spam we are forced to make this forum "Read Only". If you have an issue, most likely was discussed here. Use the Search function and try to find related discussions. If you can't find any helpful information, just email support at halfagain dot com"
 
   Home   Help Login Register  
Pages: [1]
  Print  
Author Topic: Search Box  (Read 1130 times)
0 Members and 1 Guest are viewing this topic.
blimpy
Newbie
*

Karma: 10
Offline Offline

Posts: 23


« on: May 11, 2008, 14:16 »

How do you put a search box on top of all pages on our sites.

I have it as "text" only, and would like to add a box feature, im guessing its easy but dont want to blow up my site Smiley

Thanks
Logged
Crazeet
Jr. Member
**

Karma: 100
Offline Offline

Posts: 100


« Reply #1 on: May 12, 2008, 14:43 »

Add the below code to where you want the search box
Quote

 
   
     
     
     
   
 

 

Logged

"The only place success comes before work is in the dictionary"
The Inspiration Place
Scents ul Wear
blimpy
Newbie
*

Karma: 10
Offline Offline

Posts: 23


« Reply #2 on: May 12, 2008, 22:06 »

When i put this code in the search box appears but

it looks like this

(Search box)--------------------------------------------------- search button

it miles across the page, any way of getting the search beside the box?

Thanks
Logged
Omar
Here to help.
Administrator
Hero Member
*****

Karma: 10001
Offline Offline

Posts: 2687


« Reply #3 on: May 13, 2008, 04:39 »

I think is because of the tables embbed in the code. Just try a smaller code, with no tables, just the form

Quote

Search for items:
Logged
blimpy
Newbie
*

Karma: 10
Offline Offline

Posts: 23


« Reply #4 on: May 14, 2008, 14:44 »

Hi Omar,

THANKS ALOT.... that did the job
Logged
blimpy
Newbie
*

Karma: 10
Offline Offline

Posts: 23


« Reply #5 on: May 15, 2008, 17:04 »

I just noticed, stupid me for not checking, my search box dosent work at all now,

Anybody have it working with the box?
Logged
Crazeet
Jr. Member
**

Karma: 100
Offline Offline

Posts: 100


« Reply #6 on: May 15, 2008, 18:37 »

The best way to make sure you have the correct code and that it will work is to copy the
code from the header.tpl in the new Default templete and paste into you own store templates.
Logged

"The only place success comes before work is in the dictionary"
The Inspiration Place
Scents ul Wear
goldxpress
Newbie
*

Karma: 10
Offline Offline

Posts: 11


« Reply #7 on: May 16, 2008, 05:11 »

Quote from: Crazeet
The best way to make sure you have the correct code and that it will work is to copy the
code from the header.tpl in the new Default templete and paste into you own store templates.
Crazeet,
 
How did you get the nice border around your search box? I'm guessing css code -- do you mine sharing the code along with brief instruction?
 
Thanks in advance...
 
________________
goldxpress
Logged
Crazeet
Jr. Member
**

Karma: 100
Offline Offline

Posts: 100


« Reply #8 on: May 16, 2008, 09:10 »

I add the below to my *.css
Quote
.formbord
{
   BORDER: 1px solid;
   BORDER-COLOR: #8560a8; /** the color you want **/
}

In the templates you assign a css class as highlighted
Quote
Logged

"The only place success comes before work is in the dictionary"
The Inspiration Place
Scents ul Wear
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.8 | SMF © 2006-2008, Simple Machines LLC Valid XHTML 1.0! Valid CSS!