ZenphotoCMS Forum
Customization Assistance - Printable Version

+- ZenphotoCMS Forum (https://forum.zenphoto.org)
+-- Forum: Support (https://forum.zenphoto.org/forum-1.html)
+--- Forum: General support (https://forum.zenphoto.org/forum-4.html)
+--- Thread: Customization Assistance (/thread-12066.html)



Customization Assistance - barmanpoet - 2014-11-13

I need a photo album tool to document property (house) inspections several times a year. I feel like ZenPhoto is the best tool available, but need a few additional tweaks. I need to record a few additional fields per album, such as address, date, inspector's name, and type of inspection. Any suggestion as to the best way to implement something like this?




Customization Assistance - acrylian - 2014-11-13

Several possibilites but all will require coding and none is easy if you are not a coder.

  1. Use this "unsupported" plugin as a base to "fake split" (serialization) thee existing custom field into several fields:
    https://github.com/zenphoto/Unsupported/tree/master/plugins/filter-custom_data

It can also be adapted to use the general table for extra fields called plugin_storage.

  1. Look at the included userAddressFields plugin. It uses a class named fieldExtender that can be used to add new fields to the database tables of images or albums. You then would have to create a plugin using filters to use these fields.

Note: The plugin on 2) and way it works wa done by a former team member. I favored another way to do this using plugin_storage, so we probably will not use this for long.

age