1
dniezby
Adding a search box..
  • 2006/10/21 18:42

  • dniezby

  • Just popping in

  • Posts: 54

  • Since: 2006/6/1 2


I'm working on a new theme design more my site and I want to have a "Search" box in the design of the header.

For example, there will be a menubar across the screen and at the end of that menu bar I'd like a search box.

The other issue is that I'm designing two versions of the site's header. A flash header and a static html header.

Any ideas on the code I'd need to do this?

2
irmtfan
Re: Adding a search box..
  • 2006/10/21 18:58

  • irmtfan

  • Module Developer

  • Posts: 3419

  • Since: 2003/12/7


It's very simple just look at some themes:

<form  action="<{$xoops_url}>/search.php" method="post">
                    <
input type="text" name="query" size="14" /><input type="hidden" name="action" value="results" />
                    <
input type="image" align="top" class="inputC" src="<{$xoops_imageurl}>images/search.gif" alt="Search" />
                <
a href="<{$xoops_url}>/search.php">Searcha>
                form>

Login

Who's Online

319 user(s) are online (189 user(s) are browsing Support Forums)


Members: 0


Guests: 319


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: Nov 30
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits