coppermine-gallery.com/forum

Support => cpg1.4.x Support => Older/other versions => cpg1.4 themes/skins/templates => Topic started by: Walkinman on January 09, 2006, 05:37:17 PM

Title: Removing the Keyword list from "Search page"
Post by: Walkinman on January 09, 2006, 05:37:17 PM
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
Title: Re: Removing the Keyword list from "Search page"
Post by: Walkinman on January 09, 2006, 05:43:14 PM
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
Title: Re: Removing the Keyword list from "Search page"
Post by: Tranz on January 09, 2006, 05:47:02 PM
If it works, that's fine. If you have issues you can undo the change.
Title: Re: Removing the Keyword list from "Search page"
Post by: Tranz on January 09, 2006, 05:48:47 PM
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.
Title: Re: Removing the Keyword list from "Search page"
Post by: Walkinman on January 10, 2006, 02:47:46 AM
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
Title: Re: Removing the Keyword list from "Search page"
Post by: Joachim Müller on January 10, 2006, 08:39:02 AM
using the option in coppermine's config should only affect the clickable keywords on the search page afaik. Please test and feedback.
Title: Re: Removing the Keyword list from "Search page"
Post by: ecto on January 10, 2006, 10:43:44 PM
Tested on my 1.4.2 install, it only affected the search page.
Title: Re: Removing the Keyword list from "Search page"
Post by: Walkinman on January 11, 2006, 07:19:44 AM
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