adding a coppermine search box out of coppermine adding a coppermine search box out of coppermine
 

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]

Main Menu

adding a coppermine search box out of coppermine

Started by Fed, July 15, 2005, 08:33:47 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Fed

Hi all

I'd like to add a searchbox on the homepage of www.imagetemple.com so that the visitors can directly search the gallery from the home page

can it be done? if yes how?

will it work if I ducplicarcopy the code of the search page in the home page?

any suggestion is welcome

thanks

Nibbler

You can duplicate the html of the search box. Make sure the action points to the right place, it can be a full url.

Joachim Müller

add<form method="get" action="http://imagetemple.com/gallery/thumbnails.php" name="searchcpg">
<input type="hidden" name="album" value="search">
<input type="hidden" name="type" value="full">
<input type="input" style="width: 90%" name="search" maxlength="255" value="" class="textinput">
<input type="submit" value="Search the file collection" class="button">
</form>
to themes/your_theme/template.html (or anywhere else on your site). HTML markup is of course up to you.

Fed

thanks guys I'll give it a try as soon as I have a bit of time :)

Fed