PDA

View Full Version : Adding a search field to your header or footer.


harmonicdiscord
Nov-03-2004, 12:41 PM
For those, like me, who were wondering how to add a search field to your custom header or footer, here's what smugmug told me. (Note, you have to be a power user or above to do this.)

<form method="get" action="/search/index.mg">
<input type="text" name="searchWords" />
<input type="hidden" name="searchType" value="InUser" />
<input type="hidden" name="NickName" value="YOURNICKNAMEHERE" />
<input type="submit" value="Search Galleries" />
</form>

Just replace YOURNICKNAMEHERE with your nickname.

Cheers!

Baldy
Nov-03-2004, 05:32 PM
Here's an example of someone who did quite a nice job integrating it into their header:

http://sau.smugmug.com/

Nir
Nov-03-2004, 10:01 PM
Cool! Implemented!

Thanks!!

peestandingup
Aug-23-2005, 04:08 PM
Thats great, but how do you center the search box? Mine is showing up on the left side of my page. Thanks.

peestandingup
Aug-24-2005, 04:48 AM
Nevermind guys, I found it! Thanks.

mercphoto
Aug-24-2005, 10:37 AM
Thats great, but how do you center the search box? Mine is showing up on the left side of my page. Thanks.
I have a similar issue, and an align center paragraph command did not solve it.