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: Removing the Keyword list from "Search page"  (Read 5262 times)

0 Members and 1 Guest are viewing this topic.

Walkinman

  • Coppermine frequent poster
  • ***
  • Offline Offline
  • Gender: Male
  • Posts: 380
    • Skolai Images - Nature, Travel and Adventure stock photos
Removing the Keyword list from "Search page"
« 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
« Last Edit: January 11, 2006, 07:43:48 am by TranzNDance »
Logged

Walkinman

  • Coppermine frequent poster
  • ***
  • Offline Offline
  • Gender: Male
  • Posts: 380
    • Skolai Images - Nature, Travel and Adventure stock photos
Re: Removing the Keyword list from "Search page"
« Reply #1 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
Logged

Tranz

  • Dev Team member
  • Coppermine addict
  • ****
  • Country: 00
  • Offline Offline
  • Gender: Female
  • Posts: 6149
Re: Removing the Keyword list from "Search page"
« Reply #2 on: January 09, 2006, 05:47:02 pm »

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

Tranz

  • Dev Team member
  • Coppermine addict
  • ****
  • Country: 00
  • Offline Offline
  • Gender: Female
  • Posts: 6149
Re: Removing the Keyword list from "Search page"
« Reply #3 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.
Logged

Walkinman

  • Coppermine frequent poster
  • ***
  • Offline Offline
  • Gender: Male
  • Posts: 380
    • Skolai Images - Nature, Travel and Adventure stock photos
Re: Removing the Keyword list from "Search page"
« Reply #4 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
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: Removing the Keyword list from "Search page"
« Reply #5 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.
Logged

ecto

  • Supporter
  • Coppermine frequent poster
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 144
    • My very incomplete gallery
Re: Removing the Keyword list from "Search page"
« Reply #6 on: January 10, 2006, 10:43:44 pm »

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

Walkinman

  • Coppermine frequent poster
  • ***
  • Offline Offline
  • Gender: Male
  • Posts: 380
    • Skolai Images - Nature, Travel and Adventure stock photos
Re: Removing the Keyword list from "Search page"
« Reply #7 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
Logged
Pages: [1]   Go Up
 

Page created in 0.019 seconds with 20 queries.