![]() |
|
Custom Fields in Album - Printable Version +- ZenphotoCMS Forum (https://forum.zenphoto.org) +-- Forum: Support (https://forum.zenphoto.org/forum-1.html) +--- Forum: Plugins (https://forum.zenphoto.org/forum-6.html) +--- Thread: Custom Fields in Album (/thread-12508.html) |
Custom Fields in Album - thommy - 2016-05-04 I'm trying to add custom Fields in Album. I took the Example from https://github.com/zenphoto/Unsupported/blob/master/plugins/filter-custom_data/filter-custom_data.php ` function custom_data_save_album($discard, $prefix) {
} function custom_data_edit_album($discard, $album, $prefix) {
} ` It seems, that's only possible to add one custom field. How is it to realize to use more fields? Custom Fields in Album - acrylian - 2016-05-04 What you did is re-adding the same custom_data field that already exists. You could
Also take a look at the fieldExtender plugin to add real custom fields. See the documentation on top of the plugin file itself how to use it. That's currently the only way for extra fields. |