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: Default search options  (Read 2030 times)

0 Members and 1 Guest are viewing this topic.

Jason1975

  • Coppermine newbie
  • Offline Offline
  • Posts: 18
Default search options
« on: June 25, 2012, 04:24:44 pm »

Hi Guys

Is it possible to change the default search files that are selected when one does a search? I would like 'caption' unticked by default.

I have done some searches on the forum but my search terms 'default search file change' and 'search files' did not give me the info I needed
Thanks
Logged

Αndré

  • Administrator
  • Coppermine addict
  • *****
  • Country: de
  • Offline Offline
  • Gender: Male
  • Posts: 15764
Re: Default search options
« Reply #1 on: June 27, 2012, 09:51:31 am »

Open search.php, find
Code: [Select]
<input type="checkbox" name="caption" id="caption" class="checkbox" checked="checked" />and replace with
Code: [Select]
<input type="checkbox" name="caption" id="caption" class="checkbox" />
Logged

Jason1975

  • Coppermine newbie
  • Offline Offline
  • Posts: 18
Re: Default search options
« Reply #2 on: June 27, 2012, 10:01:55 am »

Good skills Andre'

Spot on advice.

Many thanks. :)
Logged
Pages: [1]   Go Up
 

Page created in 0.018 seconds with 20 queries.