Profile Details Gallery Modal Not Working

Hello,

Our Living Spaces profiles are set to include the following:

<div class="editable optional lw_hidden" id="details_widget">
  <widget type="profiles_details" priority="high">
    <arg id="thumb_width">800</arg>
    <arg id="thumb_height">auto</arg>
  </widget>
</div>

...

<!-- LW: image -->
<div class="details-slideshow-large">
  <xphp var="details_image"/>
</div>

Currently, if the profile has a gallery assigned to it, the modal to view the gallery does not appear when the title or image is clicked.

I also attempted to replace the gallery with a selection of images assigned to the profile: same behavior.

I tried looking at the browser Console and LiveWhale Debug messages: no obvious errors. It also appears that the default gallery script is being included, at least.

Seeing this, and not knowing of anything in the client code that would affect the gallery behavior, I suspect this may be a core issue. Any insight or advice welcome.

Thanks,
Nick

Thanks Nick – sorry to hear this is giving you trouble.

Details pages use the Default Gallery, which is called with “/default/” in the filesystem. Once place to check for customizations is in _ingredients/themes/global/galleries/default and you could compare any files in there to the /livewhwale/core/theme/galleries/default versions (or on dev, reset to the core versions and see if that addresses the issue). Hope this helps as a starting place!

“We had a copy in client?” :upside_down_face: I feel like I knew that…anyways.

After comparison, I didn’t see any significant differences, so I copied Core to the Ingredients, and it’s now working. Thanks Karl.

In this case, if we don’t have any changes to make, can I remove the Default folder from /_ingredients/themes/global/galleries/ and have the system resort to the Core copy?

Thanks,
Nick

Yep! The only reason to have a version in the global theme is to customize it or override certain pieces/settings.