Removing the Keyword list from "Search page" Removing the Keyword list from "Search page"
 

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

Main Menu

Removing the Keyword list from "Search page"

Started by Walkinman, January 09, 2006, 05:37:17 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Walkinman

Hello folks,

Is it possible to remove the list of keywords from the search/index.php page? How can I do this?

Thank you.

Cheers

Carl

Walkinman

Hey folks,

OK, I've found it thanks. I just deleted the section:

if ($CONFIG['clickable_keyword_search'] != 0) {
    include('include/keyword.inc.php');
}

Is that OK?

Thanks.

Cheers

Carl

Tranz

If it works, that's fine. If you have issues you can undo the change.

Tranz

Actually, you can set the Config to disable clickable keywords. So undo your changes and use Config to accomplish the same end. That way, updates are less of a hassle with fewer code modifications.

Walkinman

Hey TranzNDance,

Thank you.

The reason I didn't undo the 'clickable keywords' part is because I like having the keywords displayed on the actual image pages - but just don't like the entire list of keywords showing up on the search.php page.

I guess I'll be asking for help again when the updates come out.  ;)

Thanks again.

Cheers

Carl

Joachim Müller

using the option in coppermine's config should only affect the clickable keywords on the search page afaik. Please test and feedback.

ecto

Tested on my 1.4.2 install, it only affected the search page.

Walkinman

Hello folks,

Yes, you're right, thanks. I put the other piece of code back in my search.php file, and disabled clickable keywords in Config -- works just as you said it would. Thank you.

Cheers

Carl