forum.coppermine-gallery.net

Support => cpg1.5.x Support => cpg1.5 miscellaneous => Topic started by: roaftech on January 28, 2014, 08:21:37 pm

Title: Search page sequence
Post by: roaftech on January 28, 2014, 08:21:37 pm
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?
Title: Re: Search page sequence
Post by: Αndré on January 29, 2014, 10:33:05 am
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 (http://forum.coppermine-gallery.net/index.php/topic,63693.0.html) 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
Code: [Select]
if ($CONFIG['clickable_keyword_search'] != 0) {
    include('include/keyword.inc.php');
}
and move if above
Code: [Select]
$text = CPGPluginAPI::filter('search_form', $text);
echo $text;
Title: Re: Search page sequence
Post by: roaftech on January 29, 2014, 06:42:58 pm
Thanks Andre, prompt and efficient as usual!