Search page sequence Search page sequence
 

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

Search page sequence

Started by roaftech, January 28, 2014, 08:21:37 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

roaftech

I'm using a pretty standard search page but I want the search cloud to appear above the search criteria options.  This has been addressed before and I found the following from Andre:

snip ...
You can add your cloud above the search form
return $cloud.$text;
or below the search form
return $text.$cloud;

... snip

in a reply some years back (11/Feb/2010), but I couldn't determine in which file these changes should be made.
Where can I find the location of this code?
.
Steve Humphreys,
Help, Hope and Co-operation,
Asociatia Neemia, Dorohoi, Romania.
www.roaf.org/gallery

ΑndrĂ©

Reference to my earlier reply: http://forum.coppermine-gallery.net/index.php/topic,63693.msg316365.html#msg316365

This was a reply to the flf_flashcloud plugin announcement thread. If you use this plugin, you can configure where to display the flash cloud.

If you want to move the standard clickable keyword list above the search form, open search.php, find
if ($CONFIG['clickable_keyword_search'] != 0) {
    include('include/keyword.inc.php');
}

and move if above
$text = CPGPluginAPI::filter('search_form', $text);
echo $text;

roaftech

Thanks Andre, prompt and efficient as usual!
.
Steve Humphreys,
Help, Hope and Co-operation,
Asociatia Neemia, Dorohoi, Romania.
www.roaf.org/gallery