Advanced search  


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.

Pages: [1]   Go Down

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

0 Members and 1 Guest are viewing this topic.


  • 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 -

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

<form method="post" action="">

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


when i use to search it tells

The selected album/file does not exist !

plz help me for this search bar

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47844
  • aka "GauGau"
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
Pages: [1]   Go Up

Page created in 0.018 seconds with 21 queries.