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: Show different keywords  (Read 3683 times)

0 Members and 1 Guest are viewing this topic.

johnfelipe

  • Coppermine regular visitor
  • **
  • Offline Offline
  • Posts: 83
Show different keywords
« on: June 13, 2013, 08:22:52 pm »

Hi

http://jhonfelipeurregomejia.com/nuevasplantillas2013/search.php

Please tell me how reduce or show different keywords, view attach
Logged

johnfelipe

  • Coppermine regular visitor
  • **
  • Offline Offline
  • Posts: 83
Re: Show different keywords
« Reply #1 on: July 13, 2013, 03:13:12 am »

Hello again, please tell me if possible reduce all tag

Tnks
Logged

johnfelipe

  • Coppermine regular visitor
  • **
  • Offline Offline
  • Posts: 83
Re: Show different keywords
« Reply #2 on: July 31, 2013, 09:43:35 pm »

Hi again, someone?

I need reduce all tag

Tnks
Logged

phill104

  • Administrator
  • Coppermine addict
  • *****
  • Country: gb
  • Offline Offline
  • Gender: Male
  • Posts: 4885
    • Windsurf.me
Re: Show different keywords
« Reply #3 on: July 31, 2013, 10:53:05 pm »

Can you explain in a little more detail exactly why and what you are trying to accomplish?
Logged
It is a mistake to think you can solve any major problems just with potatoes.

johnfelipe

  • Coppermine regular visitor
  • **
  • Offline Offline
  • Posts: 83
Re: Show different keywords
« Reply #4 on: August 01, 2013, 04:27:05 am »

i want to change or bail keyword list, view attach

Logged

Jeff Bailey

  • Dev Team member
  • Coppermine addict
  • ****
  • Country: us
  • Offline Offline
  • Gender: Male
  • Posts: 1322
  • Fishing relaxes me.
    • Bailey Family Co.
Re: Show different keywords
« Reply #5 on: August 01, 2013, 10:22:17 pm »

Try this:
In displayimage.php Find:
Code: [Select]
    if ($CURRENT_PIC_DATA['keywords'] != '') {
        $keyword_links = array();
        foreach (explode($CONFIG['keyword_separator'], html_entity_decode($CURRENT_PIC_DATA['keywords'])) as $keyword) {
            $keyword_links[] = '<a href="thumbnails.php?album=search&amp;keywords=on&amp;search=' . urlencode($keyword) . '">' . $keyword . '</a>';
        }
        $info[$lang_common['keywords']] = '<span class="alblink">' . implode(' / ', $keyword_links) . '</span>';
    }
Replace with
Code: [Select]
/*    if ($CURRENT_PIC_DATA['keywords'] != '') {
        $keyword_links = array();
        foreach (explode($CONFIG['keyword_separator'], html_entity_decode($CURRENT_PIC_DATA['keywords'])) as $keyword) {
            $keyword_links[] = '<a href="thumbnails.php?album=search&amp;keywords=on&amp;search=' . urlencode($keyword) . '">' . $keyword . '</a>';
        }
        $info[$lang_common['keywords']] = '<span class="alblink">' . implode(' / ', $keyword_links) . '</span>';
    }*/

Untested.
Logged
Thinking is the hardest work there is, which is probably the reason why so few engage in it. - Henry Ford

johnfelipe

  • Coppermine regular visitor
  • **
  • Offline Offline
  • Posts: 83
Re: Show different keywords
« Reply #6 on: August 09, 2013, 09:43:20 pm »

Hi tnks for you reply, but is dont work, still appear a lot keywords.

Help please

Tnks again
Logged

Αndré

  • Administrator
  • Coppermine addict
  • *****
  • Country: de
  • Offline Offline
  • Gender: Male
  • Posts: 15764
Re: Show different keywords
« Reply #7 on: August 21, 2013, 12:15:19 pm »

I assume you're looking for the config option Enable clickable keywords in search. Next time, please add such important details to your initial post.
Logged
Pages: [1]   Go Up
 

Page created in 0.02 seconds with 19 queries.