To add another field in the database

Zenphoto is a friendly application if the purpose is to have a web gallery. How about if we want it to be catalog-view such as amazon website? We don't want any ecommerce as it is intended for offline order and payment.

Currently, fields that available for album is location, date, etc. And I need more fields to be added to the fields. Can we have this in database-driven

Comments

  • trisweb Administrator
    You will have to know PHP well to do that.

    Just adding them to the database will work for just displaying database data - you can access it by `$_zp_current_image->get('fieldname');` But you will have to modify admin.php to set it and save it.

    What about the Custom Data field? You can put anything you want there.
  • cade Member
    Custom data field cannot be used as later i need to group the data. I know a bit of php. At which line can i use $_zp_current_image->get('fieldname');?

    Do i need to alter the database?

    I want to diplay catalog and there some data i need to group. That is why i can't manipulate the available options. The templates has also need to be modified

    Thanks for replying.
  • cade Member
    is there any guide for group data by location? this as stated in edit album
  • acrylian Administrator, Developer
    Couldn't you use tags and dynamic albums for grouping?
  • cade Member
    that's not accomplished for what i want
  • trisweb Administrator
    cade, I apologize, but Zenphoto doesn't support adding extra data fields without considerable modification, and unfortunately we don't have the resources to help everyone with their customizations. As I said, you will have to be very proficient at PHP and programming to do that.

    As Acrylian suggested, I would use tags if you want to group your images. I don't understand what you're trying to do, but that's the best way to group things together.

    Perhaps we will have more ideas if you tell us exactly what you're trying to accomplish.
Sign In or Register to comment.