General Community > Scripting Help

Custom Search Bar.

(1/1)

Devicon:
I'm trying to allow this custom search bar:


--- Code: --- <p class="search">
 
    <label>SEARCH</label>
    <input name="search" type="text" class="txt" lue="SEARCH" />
    <input name="search-btn" type="submit" class="btn" value="SEARCH" name="submit"/>
   </p>
--- End code ---

To search the smf forums, yet i'm not too sure on how to do this. Any help would be appreciated.

K@:
I guess it depends where, on the page, you want it positioned.

I just added the code to the default theme, immediately after the closing </head> tag in the default theme's index.template.php file and it adds it to the very top-left of every page.


--- Code: ---</head>
 <p class="search">

    <label>SEARCH</label>
    <input name="search" type="text" class="txt" lue="SEARCH" />
    <input name="search-btn" type="submit" class="btn" value="SEARCH" name="submit"/>
   </p>
<body>';
--- End code ---

Devicon:
Thanks for the help.

Navigation

[0] Message Index

Go to full version