Piwigo / piwigo-bootstrap-darkroom

A mobile-ready and feature-rich theme for Piwigo photo gallery, based on Bootstrap 4
Apache License 2.0
81 stars 40 forks source link

How to get value from Manage Properties Photos #346

Open kitsguru opened 1 year ago

kitsguru commented 1 year ago

I am creating a child theme based on Bootstrap Darkroom with the Manage Properties Photos plugin for a Fine Art site.

I have added a property called SOLD which is a radio button. When the painting is sold I want to display a red dot using CSS - no issue on doing that. My issue is how do I get the value of the property?

It displays in the sidebar for the picture but I need it in the theImageComment div but it does not appear to be available at this point. I have experiment by doing a var dump to see if I can find it but no luck so far.

Any idea on how I can access this property outside the sidebar?