Advanced search  

News:

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.
[more]

Pages: [1]   Go Down

Author Topic: How to put coppermine search bar on separate html page  (Read 4625 times)

0 Members and 1 Guest are viewing this topic.

apassio

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 35
    • Christine & Son's website
How to put coppermine search bar on separate html page
« on: October 02, 2004, 07:06:00 pm »

Hello,

First, I'm very very happy with Coppermine, this is a great piece of software!

I'm maintaining a static website http://www.dophan.com/ from which my coppermine photo gallery http://www.dophan.com/photos/ is accessible.

How can I put a search bar in my static html home page so that people can search my coppermine photo gallery from there?

In other words, I'd like people who are on  http://www.dophan.com/ to be able to search my photo gallery without actually going into the photo gallery.

Thanks for your suggestions.

Regards
Logged

Nibbler

  • Guest
Re: How to put coppermine search bar on separate html page
« Reply #1 on: October 03, 2004, 12:54:47 am »

Something like this.
Code: [Select]
<table>
       <tr>
                <form method="get" action="photos/thumbnails.php" name="searchcpg">
               <input type="hidden" name="album" value="search">
               <input type="hidden" name="type" value="full">
        <td align="center" height="60">
                <input type="input" style="width: 90%" name="search" maxlength="255" value="">
                </td>
        </tr>
        <tr>
                <td colspan="8" align="center">
                        <input type="submit" value="search">
                </td>
                </form>
        </tr>
</table>
Logged
Pages: [1]   Go Up
 

Page created in 0.016 seconds with 19 queries.