Add new fields to database

loki

Joined: 2003-01-06
Posts: 1
Posted: Mon, 2003-01-06 02:53

Hello,

To better manage my database of pictures, I would like to add new fiels
like author, date, place, ... in the same way as comments or keywords.

How is it possible and where to change the parameters in the scripts ?

Thanks,

Loïc :roll:

 
meetn2veg
meetn2veg's picture

Joined: 2003-01-22
Posts: 6
Posted: Wed, 2003-01-22 12:01

I'd also be interested in this. As and when there's a reply/solution, please let me know too :grin:

Thnx
R.

 
beckett
beckett's picture

Joined: 2002-08-16
Posts: 3474
Posted: Wed, 2003-01-22 16:50

Loïc and R.

You can add new items in the classes/AlbumItem.php class file.
Add new things to the var list at top, then add two new functions below for each item to get/set the values. Then you should edit wherever you want to be able to input the values, or read them. You could even expand the search feature, though this would take a little work. Make sense?

-Beckett (

)