forum.coppermine-gallery.net

Support => cpg1.3.x Support => Older/other versions => cpg1.3 Miscellaneous => Topic started by: apassio on October 02, 2004, 07:06:00 pm

Title: How to put coppermine search bar on separate html page
Post by: apassio 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
Title: Re: How to put coppermine search bar on separate html page
Post by: Nibbler 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>