Advanced search  

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

Pages: [1]   Go Down

Author Topic: Admin-defined keywords only?  (Read 2222 times)

0 Members and 1 Guest are viewing this topic.

UK_CJ

  • Coppermine newbie
  • Offline Offline
  • Posts: 7
Admin-defined keywords only?
« on: June 06, 2006, 11:50:21 pm »

I am implementing Coppermine as the photo gallery for my company's website. Our customers send photos of themselves wearing our products (kilts), and we publish those photos on our website.

New and potential customers can come and see the photo galleries. This is our primary form of advertising/marketing.

With Coppermine, I want the customer to have a list of pre-defined keywords to choose from when they upload their photos. (The Keywords would be the 7 product names, colors, and the type of event they are at... like Highland Games, St. Patrick's Day Parade, etc.) I do not want the customer to enter any keywords by hand, because they could enter all kinds of weird stuff for keywords.

Is there a (relatively) easy way to change the Keywords text box to a pre-defined list of checkboxes?

(By the way: I saw there was one other message in this group that was similar, but not the same as mine.)

Thank you for your time!
- CJ
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: Admin-defined keywords only?
« Reply #1 on: June 07, 2006, 12:30:10 am »

Haven't looked into this in detail, but I guess you'd have to modify upload.php and change the type of the input field for the keywords from "text" to "hidden". This way, only the choice from the list is possible.
Logged
Pages: [1]   Go Up
 

Page created in 0.016 seconds with 19 queries.