Advanced search  

News:

CPG Release 1.6.26
Correct PHP8.2 issues with user and language managers.
Additional fixes for PHP 8.2
Correct PHP8 error with SMF 2.0 bridge.
Correct IPTC supplimental category parsing.
Download and info HERE

Pages: [1]   Go Down

Author Topic: adding a coppermine search box out of coppermine  (Read 5874 times)

0 Members and 1 Guest are viewing this topic.

Fed

  • Coppermine regular visitor
  • **
  • Offline Offline
  • Gender: Male
  • Posts: 50
    • Imagetemple.com
adding a coppermine search box out of coppermine
« on: July 15, 2005, 08:33:47 pm »

Hi all

I'd like to add a searchbox on the homepage of www.imagetemple.com so that the visitors can directly search the gallery from the home page

can it be done? if yes how?

will it work if I ducplicarcopy the code of the search page in the home page?

any suggestion is welcome

thanks
« Last Edit: July 27, 2005, 09:48:48 am by GauGau »
Logged

Nibbler

  • Guest
Re: adding a coppermine search box out of coppermine
« Reply #1 on: July 15, 2005, 10:52:25 pm »

You can duplicate the html of the search box. Make sure the action points to the right place, it can be a full url.
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: adding a coppermine search box out of coppermine
« Reply #2 on: July 16, 2005, 01:00:23 pm »

add
Code: [Select]
<form method="get" action="http://imagetemple.com/gallery/thumbnails.php" name="searchcpg">
<input type="hidden" name="album" value="search">
<input type="hidden" name="type" value="full">
<input type="input" style="width: 90%" name="search" maxlength="255" value="" class="textinput">
<input type="submit" value="Search the file collection" class="button">
</form>
to themes/your_theme/template.html (or anywhere else on your site). HTML markup is of course up to you.
Logged

Fed

  • Coppermine regular visitor
  • **
  • Offline Offline
  • Gender: Male
  • Posts: 50
    • Imagetemple.com
Re: adding a coppermine search box out of coppermine
« Reply #3 on: July 18, 2005, 08:58:55 pm »

thanks guys I'll give it a try as soon as I have a bit of time :)
Logged

Fed

  • Coppermine regular visitor
  • **
  • Offline Offline
  • Gender: Male
  • Posts: 50
    • Imagetemple.com
Re: adding a coppermine search box out of coppermine
« Reply #4 on: July 27, 2005, 09:44:38 am »

done, it works

thanks a lot :)
Logged
Pages: [1]   Go Up
 

Page created in 0.019 seconds with 20 queries.