forum.coppermine-gallery.net

Support => cpg1.4.x Support => Older/other versions => cpg1.4 themes/skins/templates => Topic started by: mail2annachi on November 08, 2009, 06:18:59 pm

Title: Want to Add a Search Box
Post by: mail2annachi on November 08, 2009, 06:18:59 pm
hi ! i want to add a search box in my website - http://actressarchives.org/ (http://actressarchives.org/)

Code: [Select]
iam not good at programming, but i tried something like this

<form method="post" action="http://actressarchives.org/thumbnails.php?album">

<input type="text" style="width: 20%" name="q" maxlength="255" value="" />
<input type="submit" value="Search" class="button" />

</form>

when i use to search it tells

The selected album/file does not exist !

plz help me for this search bar
Title: Re: Want to Add a Search Box
Post by: Joachim Müller on November 08, 2009, 11:21:46 pm
We can't really teach you HTML. Try
Code: [Select]
<form method="post" action="thumbnails.php" name="searchcpg">for the form tag. The name of the text input field needs to be search. Take a look at the HTML output of http://actressarchives.org/search.php