forum.coppermine-gallery.net

No Support => Feature requests => Topic started by: john00 on May 28, 2004, 04:40:46 am

Title: making one of the user defined fields (for image description) be a drop down box
Post by: john00 on May 28, 2004, 04:40:46 am
Id like to be able to do this as I want users to be able to choose a specific name from a list of 10 or so, i dont want them to have to worry if theyre spelling it right.. or by putting the wrong thing.

much like how they select the album theyre uploading it to.. what code do i have to change to accomplish this.. ive tried just using a <select... etc but that doesnt work because the form is in an array.. what to do?
Title: Re: making one of the user defined fields (for image description) be a drop down
Post by: john00 on May 28, 2004, 11:57:38 pm
i think it would mean creating a new thing in the mysql database.. but i dont know how to do that.. can ANYONE help.. ive asked at like 4 different boards.
Title: Re: making one of the user defined fields (for image description) be a drop down
Post by: Joachim Müller on May 30, 2004, 06:04:19 pm
would require a lot of code changes. I don't think anyone from the coppermine dev team will come up with a hack to accomplish this (and I won't either, as I don't see a point in this).

GauGau
Title: Re: making one of the user defined fields (for image description) be a drop down
Post by: john00 on June 02, 2004, 08:24:58 am
i honestly dont think it would be that hard.  it would just have to be in the same fashion as how you pick the album.  There is a point in this as it could be whatever you wanted.  for instance, if you wanted people to HAVE to choose something.. and wanted it to be spelled correctly so it was easy to search.  If people have to pick between say... icons or wallpapers.  You could make hte drop down box be those two choices.. and then when you search, you could search icons and only the ones with icons would show up.  The dropdown box makes it so people that cant spell cant screw up (ie ikons, icon, etc)
Title: Re: making one of the user defined fields (for image description) be a drop down
Post by: Joachim Müller on June 02, 2004, 02:03:02 pm
in that case, just replace the <input>-fields with <select><option> statements and you should be fine...

GauGau
Title: Re: making one of the user defined fields (for image description) be a drop down
Post by: john00 on June 03, 2004, 09:07:12 am
i would.. but its in an array?  ill look at it again.. but i couldnt get it to work last time i tried that..