Advanced search  

News:

cpg1.5.48 Security release - upgrade mandatory!
The Coppermine development team is releasing a security update for Coppermine in order to counter a recently discovered vulnerability. It is important that all users who run version cpg1.5.46 or older update to this latest version as soon as possible.
[more]

Pages: [1]   Go Down

Author Topic: Want to Add a Search Box  (Read 2941 times)

0 Members and 1 Guest are viewing this topic.

mail2annachi

  • Coppermine newbie
  • Offline Offline
  • Posts: 8
Want to Add a Search Box
« on: November 08, 2009, 06:18:59 pm »

hi ! i want to add a search box in my website - 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
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: Want to Add a Search Box
« Reply #1 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
Logged
Pages: [1]   Go Up
 

Page created in 0.019 seconds with 20 queries.