zenphoto forums » Themes

Custom Fields?

(4 posts)
  • Started 4 years ago by manlikemalcolm
  • Latest reply from sbillard
  1. manlikemalcolm

    Apprentice
    Joined: Dec '08
    Posts: 2

    Is it possible to add custom fields & labels to the back end of zen photo. I would like to use zenphoto to display artworks. Perhaps I could repurpose the existing fields? Or add new ones?

    For example:
    Title
    Description
    Maker
    Maker Biography
    Materials
    Measurements
    Date Made
    Credit Line

    Posted 4 years ago #
  2. manlikemalcolm

    Apprentice
    Joined: Dec '08
    Posts: 2

    Is this a ridiculous question?

    Posted 4 years ago #
  3. Zenphoto development team
    acrylian

    Developer
    Joined: Jul '07
    Posts: 13,513

    You can't do that without hacking the core what we clearly don't recommend regarding updates.

    As you probably noticed title and description are always there anyway... Also there already enough fields like "location" and "city" you can use for that. How you call the output of that fields is only depend on your theme's layout.

    Also you can enter all those info directly in the description field, too.

    Don't forget to read the Forum rules and usage resources
    Posted 4 years ago #
  4. Zenphoto development team
    sbillard

    Chief Developer
    Joined: May '07
    Posts: 9,820

    Of course, there is also the custom data field which is intended for this sort of application. Just store your data in that field separated by some kind of separator. Then you can extract it using the PHP explode() function. I think if you search this forum for topics like custom fields you will find lots of discource on this.

    Don't forget to read the Forum rules and usage resources
    Posted 4 years ago #

RSS feed for this topic

Reply

You must log in to post.