coppermine-gallery.com/forum

Support => cpg1.5.x Support => cpg1.5 themes (visuals) => Topic started by: johnfelipe on June 13, 2013, 08:22:52 PM

Title: Show different keywords
Post by: johnfelipe 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
Title: Re: Show different keywords
Post by: johnfelipe on July 13, 2013, 03:13:12 AM
Hello again, please tell me if possible reduce all tag

Tnks
Title: Re: Show different keywords
Post by: johnfelipe on July 31, 2013, 09:43:35 PM
Hi again, someone?

I need reduce all tag

Tnks
Title: Re: Show different keywords
Post by: phill104 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?
Title: Re: Show different keywords
Post by: johnfelipe on August 01, 2013, 04:27:05 AM
i want to change or bail keyword list, view attach

Title: Re: Show different keywords
Post by: Jeff Bailey on August 01, 2013, 10:22:17 PM
Try this:
In displayimage.php Find:

    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

/*    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.
Title: Re: Show different keywords
Post by: johnfelipe 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
Title: Re: Show different keywords
Post by: ΑndrĂ© on August 21, 2013, 12:15:19 PM
I assume you're looking for the config option Enable clickable keywords in search (http://documentation.coppermine-gallery.net/en/configuration.htm#admin_general_keywords_start). Next time, please add such important details to your initial post.