Advanced search  


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.

Pages: [1]   Go Down

Author Topic: how to show keyword search cloud on front page  (Read 4422 times)

0 Members and 1 Guest are viewing this topic.


  • Coppermine newbie
  • Offline Offline
  • Posts: 19
how to show keyword search cloud on front page
« on: March 02, 2011, 04:27:21 pm »

i spent last 2 days on this and couldnt find a definitive answer so i thought i'd share it so it shows on searches

in anycontent.php replace:

Code: [Select]
starttable("100%", $lang_index_php['welcome']);

echo <<< EOT
        <td class="tableb">
            Here is text in the "anycontent" block.<br />
            Edit the file "anycontent.php" in your Coppermine folder to change what is shown here.<br />
            To show this block on your gallery, go to the configuration panel under "Album List View", then "content of the main page".



with: (i removed the title but you could put one if you want)

Code: [Select]

if ($CONFIG['clickable_keyword_search'] != 0) {

echo <<< EOT
      <script language="javascript" type="text/javascript">


afterwards put anycontent in the config as described here:

you can see it working here

(i did a crude hack of the file so i could have a coloured cloud - which i'll put up if anyone wants)


  • Administrator
  • Coppermine addict
  • *****
  • Country: de
  • Offline Offline
  • Gender: Male
  • Posts: 15764
Re: how to show keyword search cloud on front page
« Reply #1 on: March 02, 2011, 04:32:00 pm »

Thanks for sharing your customizations. There's also a plugin that does a smiliar thing:,63693.0.html
Pages: [1]   Go Up

Page created in 0.016 seconds with 19 queries.