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: [Solved]: Change Default Checked Boxes for Searches  (Read 1968 times)

0 Members and 1 Guest are viewing this topic.

FuzzyD

  • Coppermine newbie
  • Offline Offline
  • Posts: 8
[Solved]: Change Default Checked Boxes for Searches
« on: July 04, 2008, 09:29:53 pm »

I apologize in advance if this has been answered. I tried multiple searches on the forum before deciding to post this.

There are three search fields that are checked by default on the Search Page:

Title
Caption
Keywords

Since the only field worth searching in for my database is by filename, I would like to have Filename checked by default for new searches, and uncheck the other three fields.  I tried looking for the code to change in search.php and searchnew.php but couldn't figure it out myself.

Thanks in advance for the help!
« Last Edit: July 04, 2008, 11:09:34 pm by Nibbler »
Logged

Nibbler

  • Guest
Re: Change Default Checked Boxes for Searches
« Reply #1 on: July 04, 2008, 09:33:51 pm »

Just remove 'checked="checked"' from the inputs you don't want checked and add it to the one you do want checked.
Logged

FuzzyD

  • Coppermine newbie
  • Offline Offline
  • Posts: 8
Re: Change Default Checked Boxes for Searches
« Reply #2 on: July 04, 2008, 11:08:02 pm »

Just remove 'checked="checked"' from the inputs you don't want checked and add it to the one you do want checked.

Thank you : )  Solved.
Logged
Pages: [1]   Go Up
 

Page created in 0.02 seconds with 21 queries.