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.27
change DB IP storage fields to accommodate IPv6 addresses
remove use of E_STRICT (PHP 8.4 deprecated)
update README to reflect new website
align code with new .com CPG website
correct deprecation in captcha

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>