Hello I have the plugin "Manage Properties Photos" installed and additional fields created.
But how do I integrate these fields into the search?
someone an idea? I have found in the forum unfortunately nothing
Sili
Offline
Bumping an old topic. We need something like this. Did anyone ever find a solution?
Background: We're trying to use Piwigo to make a large collection of foto's from historic ships searchable by keywords. Most of these ships have a 5-digit registration number. We could use these as tags, but a number like 20230 could also be part of a date or a pictures filename.
Offline
Hello. There should have been made a plugin that extends the image datafields in database and to be searchable from search. I see that a milestone 14 version of piwigo has some rework planned on the search function.
I welcome this!
Offline
This is precisely what I am trying to do. I installed the custom fields plugin and managed to create some named fields but I can't see how to add them to photos or have them show up.
Has anyone done this and is willing to post a link or screen grab so I can see where I am supposed to be looking?
I am seeing these errors, not sure how to fix them because I'm new to linux
/var/www/photos/piwigo/_data/templates_c/p6jhns^db0e2c8d687818179cac362afeae772b0dcc7135_0.file.admin.tpl.php on line 253
Warning: Attempt to read property "value" on null in /var/www/photos/piwigo/_data/templates_c/p6jhns^db0e2c8d687818179cac362afeae772b0dcc7135_0.file.admin.tpl.php on line 253
Warning: Trying to access array offset on value of type null in /var/www/photos/piwigo/_data/templates_c/p6jhns^db0e2c8d687818179cac362afeae772b0dcc7135_0.file.admin.tpl.php on line 253
Offline
@BobbyV
When you edit photo, you must have a new tab with properties
php release ?
Offline
When I edit a photo there is nowhere to put data in the custom fields, they don't show up, only keywords and description.
Last edited by BobbyV (2023-07-08 16:48:58)
Offline
Hi :-)
BobbyV wrote:
When I edit a photo there is nowhere to put data in the custom fields, they don't show up, only keywords and description.
I do see an error "Warning: Trying to access array offset on value of type null in /var/www/photos/piwigo/plugins/user_custom_fields/initprofile.php on line 44"
[extension by ddtddt] Manage Properties Photos or [extension by ddtddt] User Custom Fields ?
Offline
[extension by ddtddt] User Custom Fields
Thank you ddtddt, please see the screen captures in this album, I hope they help.
https://photos.g4xca.uk/index.php?/category/ddtddt
I have enabled comments if you want to add one
Last edited by BobbyV (2023-07-07 10:59:15)
Offline
@
go to http://piwigo.org/svn/extensions/user_custom_fields/
download file and remplace by FTP
Offline
Thank you ddtddt, user_custom_fields now works
BUT I made a mistake, what I want are photo_custom_fields not user_custom_fields, so I can add three searchable custom fields to car photographs (Manufacturer, Model and numberplate).
I see there is not a plugin for this :-(
It would be very useful and popular so I will post in the "Requests" forum.
Offline
BobbyV wrote:
Thank you ddtddt, user_custom_fields now works
BUT I made a mistake, what I want are photo_custom_fields not user_custom_fields, so I can add three searchable custom fields to car photographs (Manufacturer, Model and numberplate).
I see there is not a plugin for this :-(
It would be very useful and popular so I will post in the "Requests" forum.
Hi :-)
you can test [extension by ddtddt] Manage Properties Photos
Offline
Yes, I have tried "Extension" but couldn't get it to work. :-(
My errors are
Properties additionals
Warning: Undefined array key "info_photosI" in /var/www/piwigo/_data/templates_c/p6jhns^0ec354fa4b10d6858c25f2da811e19410f348e65_0.file.admin.tpl.php on line 534
Warning: Attempt to read property "value" on null in /var/www/piwigo/_data/templates_c/p6jhns^0ec354fa4b10d6858c25f2da811e19410f348e65_0.file.admin.tpl.php on line 534
Offline
Hi :-)
BobbyV wrote:
Yes, I have tried "Extension" but couldn't get it to work. :-(
My errors are
Properties additionals
Warning: Undefined array key "info_photosI" in /var/www/piwigo/_data/templates_c/p6jhns^0ec354fa4b10d6858c25f2da811e19410f348e65_0.file.admin.tpl.php on line 534
Warning: Attempt to read property "value" on null in /var/www/piwigo/_data/templates_c/p6jhns^0ec354fa4b10d6858c25f2da811e19410f348e65_0.file.admin.tpl.php on line 534
where ?
php release ?
Offline
php release ?:
Environment
Piwigo 13.8.0 Check for upgrade
Installed on 8 July 2023, 1 day ago
Operating system: Linux
PHP: 8.1.2-1ubuntu2.13 (Show info) [2023-07-09 10:58:53]
MySQL: 8.0.33-0ubuntu0.22.04.2 [2023-07-09 10:58:53]
Graphics Library: GD 2.3.0
Cache size 5.8 Mo calculated 23 hours ago Refresh
Activated plugin list3
Admin Tools
LocalFiles Editor
Manage Properties Photos
where ?:
Go to "Edit Photo" in the "Properties Additionals" tab
Please see this screengrab:
https://photos.g4xca.uk/picture.php?/16/category/1
Offline
Hi :-)
no acces screenshot :-(
Have you create personal properties in admin plugin ?
Offline