How to put coppermine search bar on separate html page How to put coppermine search bar on separate html page
 

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

How to put coppermine search bar on separate html page

Started by apassio, October 02, 2004, 07:06:00 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

apassio

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

Nibbler

Something like this.

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