Advanced search  

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

Pages: [1]   Go Down

Author Topic: Show different keywords  (Read 3685 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.021 seconds with 19 queries.