PDA

View Full Version : How can I integrate data input fields?


swann
September 13th, 2004, 11:38 AM
Dear Users, I'd like to add some data fields in the 'Upload Photo' section for my Gallery Members. I need fields like 'Camera, 'Lens', 'Film', 'Location' and 'Description'. I couldn't find an option in the PHP Adminstration Menu which would allow me to add the above-mentioned data fields. It seems to be fixed in the PHP code.

So what's at issue is that these fields are requested in order to structure the 'description'-part if Users upload their images, posting a specific description (as 'Camera', 'Lens' etc.). I've already seen these data fields in other PhotoPost Galleries.

:confused: My question:
Is there an intelligent, more or less uncomplicate way to integrate these fields in PHP? Would this require an adjustment of the MySQL tables/PHP code? It would already be fine if Users could type these informations in a common HTML textfield (in the Upload section) and if it would be visible and structured in the posted 'description' part before images are being uploaded. In other words: 1 DB record as 'Description', including the informations for 'Camera', 'Lens', 'Film, 'Location' and of course the 'Description' self would already meet with the minimum requirements I have...!


Helpers will be awarded by joining my Gallery for free.
I would appreciate any suggestions. Emails to: rumzeis@gmx.net
Thank you very much.

Michael P
September 13th, 2004, 02:13 PM
Why not use the extra fields in the Category section which let you define 6 additional fields for each category item - no PHP/MySQL changes needed.

swann
September 18th, 2004, 03:27 PM
Why not use the extra fields in the Category section which let you define 6 additional fields for each category item - no PHP/MySQL changes needed.

Thank you very much! :) You did hit the spot.
I will try to contact you via message board or Email to give you access for an account at my gallery (a little thank you).