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

0 Members and 1 Guest are viewing this topic.


  • 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">
Anywhere into your THEMES/YOURTHEME/Template.html

Pages: [1]   Go Up

Page created in 0.016 seconds with 20 queries.