Advanced search  

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]

Pages: [1]   Go Down

Author Topic: Search page sequence  (Read 2506 times)

0 Members and 1 Guest are viewing this topic.

roaftech

  • Coppermine novice
  • *
  • Country: ro
  • Offline Offline
  • Gender: Male
  • Posts: 24
    • Romanian Aid Foundation
Search page sequence
« 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?
Logged
.
Steve Humphreys,
Help, Hope and Co-operation,
Asociatia Neemia, Dorohoi, Romania.
www.roaf.org/gallery

Αndré

  • Administrator
  • Coppermine addict
  • *****
  • Country: de
  • Offline Offline
  • Gender: Male
  • Posts: 15764
Re: Search page sequence
« Reply #1 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 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;
Logged

roaftech

  • Coppermine novice
  • *
  • Country: ro
  • Offline Offline
  • Gender: Male
  • Posts: 24
    • Romanian Aid Foundation
Re: Search page sequence
« Reply #2 on: January 29, 2014, 06:42:58 pm »

Thanks Andre, prompt and efficient as usual!
Logged
.
Steve Humphreys,
Help, Hope and Co-operation,
Asociatia Neemia, Dorohoi, Romania.
www.roaf.org/gallery
Pages: [1]   Go Up
 

Page created in 0.017 seconds with 20 queries.