Add on Search on any page 1.5.x Add on Search on any page 1.5.x
 

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

Main Menu

Add on Search on any page 1.5.x

Started by Schryvers, November 15, 2012, 12:08:21 AM

Previous topic - Next topic

0 Members and 2 Guests are viewing this topic.

Schryvers

(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:
<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