Search page sequence Search page sequence
 

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

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