Hello,
This is my first post to the forum after installing Piwigo 2.7.4.
The Properties Plugin code completely rewrites the DL block with class "imageInfoTable" but it does not conditionalize the standard fields to respect the admin display options (e.g. Show Creation Date) as does the code in the 'picture.tpl' file. I have added code to the plugin 'initpicture.php' to do this. I would like to contribute this back, rather than forking the plugin to avoid having my changes overwritten with the next revision.
I'd appreciate it if someone could let me know the best way to contribute the change back, or how to submit the change to plugin author (ddtddt) directly. There are also several enhancements I'd like to do work on the plugin to enable searching photo properties that I will also contribute back.
Thanks!
-- Philip Gust
Piwigo version: 2.7.4
PHP version: 5.4.16
MySQL version: 5.5.44-MariaDB
Piwigo URL: http://piwigo.org/forum/profile.php?id=22237
Last edited by pjgust (2016-01-03 21:15:51)
Offline
Hi :-)
sorry for delays
If you use SVN you can commit change on piwigo SVN
you can also send me change by e-mail
Have a nice day
ddtddt
Offline
pjgust wrote:
The Properties Plugin code completely rewrites the DL block with class "imageInfoTable" but it does not conditionalize the standard fields to respect the admin display options (e.g. Show Creation Date) [...]
Yes, but the plugin Manage Properties Photos has the "hide" option for each property. Isn't it better?
Offline
I was trying to fix a problem I saw, where all standard photo properties were being displayed when rewritten by the plugin, even if they were disabled in the Configuration > Options > Display tab.
Apparently I was mistaken. When I revert locally to the previous version (13342), I no longer see this behavior.
I apologize for the unnecessary checkin. If is alright, I can revert the file to the previous version.
--Philip Gust
Offline