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: Add on Search on any page 1.5.x  (Read 3351 times)

0 Members and 1 Guest are viewing this topic.

Schryvers

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 30
Add on Search on any page 1.5.x
« on: November 15, 2012, 12:08:21 am »

(I can't post in other forums right now, so admins/mods locate this topique to the right one please)

Too add an Searchbox anywhere on your coppermine gallery,

ADD this code:
Code: [Select]
<form method="get" action="http://sitename.url/thumbnails.php" name="searchcpg">
<input type="hidden" name="type" value="full">
<input type="hidden" name="title" value="on">
<input type="hidden" name="keywords" value="on">
<input type="hidden" name="album" value="search">
<input type="hidden" name="type" value="AND">
<input type="hidden" name="type" value="full">
<input type="input" style="font-family: Verdana; font-size: 10px; color: #000000" size="16" name="search" maxlength="255" value="Trefwoord..." class="textinput">
<input type="image" src="http://sitename.url/yourbutton.gif">
</form>
Anywhere into your THEMES/YOURTHEME/Template.html

Logged
Pages: [1]   Go Up
 

Page created in 0.023 seconds with 19 queries.